aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/compiler/testdata/errors.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-04-16 17:38:36 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-04-19 10:26:57 +0200
commit90d17ab8980674c6a59f47a062adccb37f99b88a (patch)
tree63c96e2abc46f63d9092f07b16c8e70458b11444 /pkg/compiler/testdata/errors.txt
parent0781895e0f8359843b9215ac6ad16925a46b2703 (diff)
prog: introduce call attributes
Add common infrastructure for syscall attributes. Add few attributes we want, but they are not implemented for now (don't affect behavior, this will follow).
Diffstat (limited to 'pkg/compiler/testdata/errors.txt')
-rw-r--r--pkg/compiler/testdata/errors.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/compiler/testdata/errors.txt b/pkg/compiler/testdata/errors.txt
index 3b77ed4b9..5c7f923d6 100644
--- a/pkg/compiler/testdata/errors.txt
+++ b/pkg/compiler/testdata/errors.txt
@@ -125,6 +125,9 @@ foo$65(a int32, b len[1]) ### unexpected int 1 for len target argument of len ty
foo$66(a int32, b len[a:1]) ### unexpected int 1 after colon, expect identifier
foo$67(x int32[1:2:3, opt]) ### unexpected ':'
foo$68(a int32[15, 2]) ### first argument of int32 needs to be a range
+foo$69() (foo) ### unknown syscall foo$69 attribute foo
+foo$70() ("foo") ### unexpected string "foo", expect attribute
+foo$71() (42) ### unexpected int 42, expect attribute
opt { ### struct uses reserved name opt
f1 int32