summaryrefslogtreecommitdiffstats
path: root/tests/incremental/thinlto/cgu_keeps_identical_fn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/incremental/thinlto/cgu_keeps_identical_fn.rs')
-rw-r--r--tests/incremental/thinlto/cgu_keeps_identical_fn.rs14
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/incremental/thinlto/cgu_keeps_identical_fn.rs b/tests/incremental/thinlto/cgu_keeps_identical_fn.rs
index 368a726ea..9e840f67a 100644
--- a/tests/incremental/thinlto/cgu_keeps_identical_fn.rs
+++ b/tests/incremental/thinlto/cgu_keeps_identical_fn.rs
@@ -5,25 +5,29 @@
// revisions: cfail1 cfail2 cfail3
// compile-flags: -Z query-dep-graph -O
-// build-pass (FIXME(62277): could be check-pass?)
+// build-pass
#![feature(rustc_attrs)]
#![crate_type = "rlib"]
-#![rustc_expected_cgu_reuse(module = "cgu_keeps_identical_fn-foo", cfg = "cfail2", kind = "no")]
+#![rustc_expected_cgu_reuse(
+ module = "cgu_keeps_identical_fn-foo",
+ cfg = "cfail2",
+ kind = "pre-lto"
+)]
#![rustc_expected_cgu_reuse(
module = "cgu_keeps_identical_fn-foo",
cfg = "cfail3",
- kind = "post-lto"
+ kind = "pre-lto" // Should be "post-lto", see issue #119076
)]
#![rustc_expected_cgu_reuse(
module = "cgu_keeps_identical_fn-bar",
cfg = "cfail2",
- kind = "post-lto"
+ kind = "pre-lto" // Should be "post-lto", see issue #119076
)]
#![rustc_expected_cgu_reuse(
module = "cgu_keeps_identical_fn-bar",
cfg = "cfail3",
- kind = "post-lto"
+ kind = "pre-lto" // Should be "post-lto", see issue #119076
)]
mod foo {