summaryrefslogtreecommitdiffstats
path: root/src/test/ui/feature-gates/feature-gate-fundamental.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/feature-gates/feature-gate-fundamental.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-fundamental.rs b/src/test/ui/feature-gates/feature-gate-fundamental.rs
new file mode 100644
index 000000000..70e013392
--- /dev/null
+++ b/src/test/ui/feature-gates/feature-gate-fundamental.rs
@@ -0,0 +1,4 @@
+#[fundamental] //~ ERROR the `#[fundamental]` attribute is an experimental feature
+struct Fundamental;
+
+fn main() { }