summaryrefslogtreecommitdiff
path: root/tests/diagnostics
diff options
context:
space:
mode:
Diffstat (limited to 'tests/diagnostics')
-rw-r--r--tests/diagnostics/end-of-input.slang3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/diagnostics/end-of-input.slang b/tests/diagnostics/end-of-input.slang
new file mode 100644
index 000000000..ff82a91ba
--- /dev/null
+++ b/tests/diagnostics/end-of-input.slang
@@ -0,0 +1,3 @@
+//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK):
+// CHECK: tests/diagnostics/end-of-input.slang(3): error 10011: unexpected end of input
+\