summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/extern-crate-unexpected-token.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/extern-crate-unexpected-token.rs')
-rw-r--r--tests/ui/parser/extern-crate-unexpected-token.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/parser/extern-crate-unexpected-token.rs b/tests/ui/parser/extern-crate-unexpected-token.rs
new file mode 100644
index 000000000..7687f5e64
--- /dev/null
+++ b/tests/ui/parser/extern-crate-unexpected-token.rs
@@ -0,0 +1 @@
+extern crte foo; //~ ERROR expected one of `crate` or `{`, found `crte`