about summary refs log tree commit diff
path: root/src/test/ui/check-cfg/allow-same-level.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/check-cfg/allow-same-level.rs')
-rw-r--r--src/test/ui/check-cfg/allow-same-level.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/check-cfg/allow-same-level.rs b/src/test/ui/check-cfg/allow-same-level.rs
deleted file mode 100644
index 6c869dc4202..00000000000
--- a/src/test/ui/check-cfg/allow-same-level.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-// This test check that #[allow(unexpected_cfgs)] doesn't work if put on the same level
-//
-// check-pass
-// compile-flags:--check-cfg=names() -Z unstable-options
-
-#[allow(unexpected_cfgs)]
-#[cfg(FALSE)]
-//~^ WARNING unexpected `cfg` condition name
-fn bar() {}
-
-fn main() {}