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.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/compiler/testdata/errors.txt b/pkg/compiler/testdata/errors.txt
index cc0f47508..d3658d239 100644
--- a/pkg/compiler/testdata/errors.txt
+++ b/pkg/compiler/testdata/errors.txt
@@ -346,3 +346,13 @@ struct$fmt0 {
f0 fmt[dec, int8:3] ### unexpected ':', only struct fields can be bitfields
f1 int32:-1 ### bitfield of size 18446744073709551615 is too large for base type of size 32
}
+
+struct$perfielddir {
+ f0 int32 (in, in) ### duplicate arg/field f0 attribute in
+ f1 int32 (out, out) ### duplicate arg/field f1 attribute out
+ f2 int32 (inout, inout) ### duplicate arg/field f2 attribute inout
+ f3 int32 (in, out) ### arg/field has multiple direction attributes
+ f4 int32 (in, inout) ### arg/field has multiple direction attributes
+ f5 int32 (out, inout) ### arg/field has multiple direction attributes
+ f6 int32 (in, out, inout) ### arg/field has multiple direction attributes
+} \ No newline at end of file