about summary refs log tree commit diff
path: root/tests/ui/abi/shadow-call-stack-without-fixed-x18.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/abi/shadow-call-stack-without-fixed-x18.rs')
-rw-r--r--tests/ui/abi/shadow-call-stack-without-fixed-x18.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/abi/shadow-call-stack-without-fixed-x18.rs b/tests/ui/abi/shadow-call-stack-without-fixed-x18.rs
index d758c903087..74882fb5c55 100644
--- a/tests/ui/abi/shadow-call-stack-without-fixed-x18.rs
+++ b/tests/ui/abi/shadow-call-stack-without-fixed-x18.rs
@@ -1,5 +1,4 @@
 //@ compile-flags: --target aarch64-unknown-none -Zsanitizer=shadow-call-stack
-//@ error-pattern: shadow-call-stack sanitizer is not supported for this target
 //@ dont-check-compiler-stderr
 //@ needs-llvm-components: aarch64
 
@@ -13,3 +12,5 @@ trait Sized {}
 
 #[no_mangle]
 pub fn foo() {}
+
+//~? ERROR shadow-call-stack sanitizer is not supported for this target