From 7a88b14122b5b70ed04bcd75932f411256e1662b Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 10 Aug 2018 18:50:03 +0200 Subject: pkg/compiler: prohibit subargs --- pkg/compiler/testdata/errors.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/compiler/testdata') diff --git a/pkg/compiler/testdata/errors.txt b/pkg/compiler/testdata/errors.txt index b0e6ac834..fed520e6e 100644 --- a/pkg/compiler/testdata/errors.txt +++ b/pkg/compiler/testdata/errors.txt @@ -116,6 +116,8 @@ foo$59(a s1) ### s1 can't be syscall argument foo$60() s1 ### s1 can't be syscall return foo$61(a u6) ### u6 can't be syscall argument foo$62() u6 ### u6 can't be syscall return +foo$63(a int32[1[2]]) ### range argument has subargs +foo$64(a ptr[in, flags[f1[int32], int32]]) ### flags argument has subargs opt { ### struct uses reserved name opt f1 int32 -- cgit mrf-deployment