aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/compiler/testdata/errors.txt
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/compiler/testdata/errors.txt')
-rw-r--r--pkg/compiler/testdata/errors.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/compiler/testdata/errors.txt b/pkg/compiler/testdata/errors.txt
index 2280d34b8..65eaf8a97 100644
--- a/pkg/compiler/testdata/errors.txt
+++ b/pkg/compiler/testdata/errors.txt
@@ -3,6 +3,11 @@
# Errors that happen during type checking phase.
+#include "something" ### confusing comment faking a directive (rephrase if it's intentional)
+#define FOO BAR ### confusing comment faking a directive (rephrase if it's intentional)
+# include "something" ### confusing comment faking a directive (rephrase if it's intentional)
+# incdir "dir" ### confusing comment faking a directive (rephrase if it's intentional)
+
foo$0(x fileoff, y int8, z buffer[in])
foo$1(x "bar") ### unexpected string "bar", expect type
foo$2(x 123, y "bar") ### unexpected int 123, expect type ### unexpected string "bar", expect type