summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/attrs-after-extern-mod.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/attrs-after-extern-mod.stderr')
-rw-r--r--tests/ui/parser/attrs-after-extern-mod.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/parser/attrs-after-extern-mod.stderr b/tests/ui/parser/attrs-after-extern-mod.stderr
new file mode 100644
index 000000000..135d98457
--- /dev/null
+++ b/tests/ui/parser/attrs-after-extern-mod.stderr
@@ -0,0 +1,12 @@
+error: expected item after attributes
+ --> $DIR/attrs-after-extern-mod.rs:6:5
+ |
+LL | extern "C" {
+ | - while parsing this item list starting here
+LL | #[cfg(stage37)]
+ | ^^^^^^^^^^^^^^^
+LL | }
+ | - the item list ends here
+
+error: aborting due to previous error
+