summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/inner-attr.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/parser/inner-attr.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/ui/parser/inner-attr.rs b/src/test/ui/parser/inner-attr.rs
new file mode 100644
index 000000000..1b405e20e
--- /dev/null
+++ b/src/test/ui/parser/inner-attr.rs
@@ -0,0 +1,4 @@
+#[feature(lang_items)]
+
+#![recursion_limit="100"] //~ ERROR an inner attribute is not permitted following an outer attribute
+fn main() {}