summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics/expected-token.spire
diff options
context:
space:
mode:
Diffstat (limited to 'tests/diagnostics/expected-token.spire')
-rw-r--r--tests/diagnostics/expected-token.spire7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/diagnostics/expected-token.spire b/tests/diagnostics/expected-token.spire
new file mode 100644
index 000000000..db85e7b92
--- /dev/null
+++ b/tests/diagnostics/expected-token.spire
@@ -0,0 +1,7 @@
+//TEST:SIMPLE:
+// expected one token, but got another
+
+int foo()
+{
+ int a = 3 ]
+} \ No newline at end of file