From 815daeab0fe9e740284119987e2921c980368d9d Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 18 Apr 2020 17:14:29 +0200 Subject: pkg/compiler: error on duplicate attributes --- pkg/compiler/testdata/errors.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/compiler/testdata') diff --git a/pkg/compiler/testdata/errors.txt b/pkg/compiler/testdata/errors.txt index 5c7f923d6..6b9145fd6 100644 --- a/pkg/compiler/testdata/errors.txt +++ b/pkg/compiler/testdata/errors.txt @@ -128,6 +128,7 @@ 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 +foo$72() (disabled, disabled) ### duplicate syscall foo$72 attribute disabled opt { ### struct uses reserved name opt f1 int32 -- cgit mrf-deployment