summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-24434.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/issues/issue-24434.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-24434.rs b/src/test/ui/issues/issue-24434.rs
new file mode 100644
index 000000000..4c1bfc03c
--- /dev/null
+++ b/src/test/ui/issues/issue-24434.rs
@@ -0,0 +1,7 @@
+// check-pass
+// compile-flags:--cfg set1
+
+#![cfg_attr(set1, feature(rustc_attrs))]
+#![rustc_dummy]
+
+fn main() {}