1 # ignore-none no-std is not supported
2 # ignore-nvptx64-nvidia-cuda FIXME: can't find crate for `std`
4 include ../../run-make-fulldeps/tools.mk
6 # Tests that we don't ICE during incremental compilation after modifying a
7 # function span such that its previous end line exceeds the number of lines
8 # in the new file, but its start line/column and length remain the same.
16 cp a.rs $(SRC)/main.rs
17 $(RUSTC) -C incremental=$(INCR) $(SRC)/main.rs --target $(TARGET)
18 cp b.rs $(SRC)/main.rs
19 $(RUSTC) -C incremental=$(INCR) $(SRC)/main.rs --target $(TARGET)