aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/err/0011_extern_struct.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/parser/err/0011_extern_struct.txt')
-rw-r--r--tests/data/parser/err/0011_extern_struct.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/data/parser/err/0011_extern_struct.txt b/tests/data/parser/err/0011_extern_struct.txt
new file mode 100644
index 000000000..288f3469b
--- /dev/null
+++ b/tests/data/parser/err/0011_extern_struct.txt
@@ -0,0 +1,13 @@
1FILE@[0; 19)
2 ERROR@[0; 7)
3 ABI@[0; 7)
4 EXTERN_KW@[0; 6)
5 WHITESPACE@[6; 7)
6 err: `expected fn, trait or impl`
7 STRUCT_ITEM@[7; 19)
8 STRUCT_KW@[7; 13)
9 NAME@[13; 17)
10 WHITESPACE@[13; 14)
11 IDENT@[14; 17) "Foo"
12 SEMI@[17; 18)
13 WHITESPACE@[18; 19)