summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/check-cfg/check-cfg-unstable.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-ui/check-cfg/check-cfg-unstable.rs')
-rw-r--r--tests/rustdoc-ui/check-cfg/check-cfg-unstable.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/check-cfg/check-cfg-unstable.rs b/tests/rustdoc-ui/check-cfg/check-cfg-unstable.rs
new file mode 100644
index 000000000..5c500ce6c
--- /dev/null
+++ b/tests/rustdoc-ui/check-cfg/check-cfg-unstable.rs
@@ -0,0 +1,2 @@
+// check-fail
+// compile-flags: --check-cfg=names()