Skip to content

Commit 347165f

Browse files
committed
The test functions are now in the same compile unit
1 parent 88bf2b4 commit 347165f

File tree

1 file changed

+2
-2
lines changed
  • src/test/run-make/sepcomp-inlining

1 file changed

+2
-2
lines changed

src/test/run-make/sepcomp-inlining/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ all:
1010
$(RUSTC) foo.rs --emit=llvm-ir -C codegen-units=3 \
1111
-Z inline-in-all-cgus
1212
[ "$$(cat "$(TMPDIR)"/foo.*.ll | grep -c define\ i32\ .*inlined)" -eq "0" ]
13-
[ "$$(cat "$(TMPDIR)"/foo.*.ll | grep -c define\ internal\ i32\ .*inlined)" -eq "2" ]
13+
[ "$$(cat "$(TMPDIR)"/foo.*.ll | grep -c define\ internal\ i32\ .*inlined)" -eq "1" ]
1414
[ "$$(cat "$(TMPDIR)"/foo.*.ll | grep -c define\ hidden\ i32\ .*normal)" -eq "1" ]
15-
[ "$$(cat "$(TMPDIR)"/foo.*.ll | grep -c declare\ hidden\ i32\ .*normal)" -eq "2" ]
15+
[ "$$(cat "$(TMPDIR)"/foo.*.ll | grep -c declare\ hidden\ i32\ .*normal)" -eq "1" ]

0 commit comments

Comments
 (0)