summaryrefslogtreecommitdiff
path: root/usr/src/tools/smatch/src/validation/error-at-eof.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/tools/smatch/src/validation/error-at-eof.c')
-rw-r--r--usr/src/tools/smatch/src/validation/error-at-eof.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/usr/src/tools/smatch/src/validation/error-at-eof.c b/usr/src/tools/smatch/src/validation/error-at-eof.c
new file mode 100644
index 0000000000..7d93365111
--- /dev/null
+++ b/usr/src/tools/smatch/src/validation/error-at-eof.c
@@ -0,0 +1,10 @@
+/*
+ * check-name: error-at-eof
+ *
+ * check-error-start
+error-at-eof.c:11:0: error: Expected ; at end of declaration
+error-at-eof.c:11:0: error: got end-of-input
+ * check-error-end
+ */
+
+int a