summaryrefslogtreecommitdiffstats
path: root/tests/codegen/asm-sanitize-llvm.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/asm-sanitize-llvm.rs')
-rw-r--r--tests/codegen/asm-sanitize-llvm.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/asm-sanitize-llvm.rs b/tests/codegen/asm-sanitize-llvm.rs
index 6dcacd08c..41bed9803 100644
--- a/tests/codegen/asm-sanitize-llvm.rs
+++ b/tests/codegen/asm-sanitize-llvm.rs
@@ -1,5 +1,5 @@
// FIXME(nagisa): remove the flags below once all targets support `asm!`.
-// compile-flags: --target x86_64-unknown-linux-gnu
+// compile-flags: --target x86_64-unknown-linux-gnu -Copt-level=0
// needs-llvm-components: x86
// Verify we sanitize the special tokens for the LLVM inline-assembly, ensuring people won't