summaryrefslogtreecommitdiffstats
path: root/tests/ui/lto/issue-100772.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/lto/issue-100772.rs')
-rw-r--r--tests/ui/lto/issue-100772.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/lto/issue-100772.rs b/tests/ui/lto/issue-100772.rs
index d6b067192..eeb511962 100644
--- a/tests/ui/lto/issue-100772.rs
+++ b/tests/ui/lto/issue-100772.rs
@@ -1,6 +1,6 @@
-// run-pass
+// build-pass
// needs-sanitizer-cfi
-// compile-flags: -Clto -Ctarget-feature=-crt-static -Zsanitizer=cfi
+// compile-flags: -Ccodegen-units=1 -Clto -Ctarget-feature=-crt-static -Zsanitizer=cfi
// no-prefer-dynamic
// only-x86_64-unknown-linux-gnu