about summary refs log tree commit diff
path: root/tests/ui/asm/global-asm-isnt-really-a-mir-body.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/asm/global-asm-isnt-really-a-mir-body.rs')
-rw-r--r--tests/ui/asm/global-asm-isnt-really-a-mir-body.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/asm/global-asm-isnt-really-a-mir-body.rs b/tests/ui/asm/global-asm-isnt-really-a-mir-body.rs
index b7636d116ec..aef25d057d4 100644
--- a/tests/ui/asm/global-asm-isnt-really-a-mir-body.rs
+++ b/tests/ui/asm/global-asm-isnt-really-a-mir-body.rs
@@ -1,5 +1,7 @@
 //@ revisions: emit_mir instrument cfi
 
+//@ compile-flags: -C unsafe-allow-abi-mismatch=sanitizer
+
 // Make sure we don't try to emit MIR for it.
 //@[emit_mir] compile-flags: --emit=mir