summary refs log tree commit diff
path: root/tests/codegen/sanitizer/safestack-attr-check.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/sanitizer/safestack-attr-check.rs')
-rw-r--r--tests/codegen/sanitizer/safestack-attr-check.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/codegen/sanitizer/safestack-attr-check.rs b/tests/codegen/sanitizer/safestack-attr-check.rs
deleted file mode 100644
index 050a60333af..00000000000
--- a/tests/codegen/sanitizer/safestack-attr-check.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-// This tests that the safestack attribute is applied when enabling the safe-stack sanitizer.
-//
-//@ needs-sanitizer-safestack
-//@ compile-flags: -Zsanitizer=safestack -Copt-level=0
-
-#![crate_type = "lib"]
-
-// CHECK: ; Function Attrs:{{.*}}safestack
-pub fn tagged() {}
-
-// CHECK: attributes #0 = {{.*}}safestack