aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/compiler/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/compiler/testdata')
-rw-r--r--pkg/compiler/testdata/errors.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/compiler/testdata/errors.txt b/pkg/compiler/testdata/errors.txt
index 8ea03bc7b..2b3a7539f 100644
--- a/pkg/compiler/testdata/errors.txt
+++ b/pkg/compiler/testdata/errors.txt
@@ -160,6 +160,18 @@ s7 {
f1 ptr64[in, int32]
}
+s8 {
+ f1 int8
+} [unknown] ### unknown struct s8 attribute unknown
+
+s9 {
+ f1 int8
+} ["foo"[0]] ### bad struct/union attribute
+
+s10 {
+ f1 int8
+} [packed[0]] ### packed attribute had args
+
u3 [
f1 int8
f2 int32