about summary refs log tree commit diff
path: root/tests/ui/check-cfg/allow-macro-cfg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/check-cfg/allow-macro-cfg.rs')
-rw-r--r--tests/ui/check-cfg/allow-macro-cfg.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/check-cfg/allow-macro-cfg.rs b/tests/ui/check-cfg/allow-macro-cfg.rs
index ea26355aca8..d3999af7766 100644
--- a/tests/ui/check-cfg/allow-macro-cfg.rs
+++ b/tests/ui/check-cfg/allow-macro-cfg.rs
@@ -1,7 +1,7 @@
 // This test check that local #[allow(unexpected_cfgs)] works
 //
-// check-pass
-// compile-flags: --check-cfg=cfg() -Z unstable-options
+//@ check-pass
+//@ compile-flags: --check-cfg=cfg() -Z unstable-options
 
 #[allow(unexpected_cfgs)]
 fn foo() {