about summary refs log tree commit diff
path: root/tests/ui/sanitize/memory-passing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/sanitize/memory-passing.rs')
-rw-r--r--tests/ui/sanitize/memory-passing.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/sanitize/memory-passing.rs b/tests/ui/sanitize/memory-passing.rs
index 6d9b70ad6b1..c8ab64bfaf8 100644
--- a/tests/ui/sanitize/memory-passing.rs
+++ b/tests/ui/sanitize/memory-passing.rs
@@ -1,12 +1,12 @@
-// needs-sanitizer-support
-// needs-sanitizer-memory
+//@ needs-sanitizer-support
+//@ needs-sanitizer-memory
 //
-// revisions: unoptimized optimized
+//@ revisions: unoptimized optimized
 //
-// [optimized]compile-flags: -Z sanitizer=memory -Zsanitizer-memory-track-origins -O
-// [unoptimized]compile-flags: -Z sanitizer=memory -Zsanitizer-memory-track-origins
+//@ [optimized]compile-flags: -Z sanitizer=memory -Zsanitizer-memory-track-origins -O
+//@ [unoptimized]compile-flags: -Z sanitizer=memory -Zsanitizer-memory-track-origins
 //
-// run-pass
+//@ run-pass
 //
 // This test case intentionally limits the usage of the std,
 // since it will be linked with an uninstrumented version of it.