diff options
Diffstat (limited to 'pkg/ast/testdata/errors.txt')
| -rw-r--r-- | pkg/ast/testdata/errors.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkg/ast/testdata/errors.txt b/pkg/ast/testdata/errors.txt index 30af16d9a..463158756 100644 --- a/pkg/ast/testdata/errors.txt +++ b/pkg/ast/testdata/errors.txt @@ -30,6 +30,7 @@ call() ("attr1") call() (42) call() ( ### unexpected '\n', expecting int, identifier, string call() () ### unexpected ')', expecting int, identifier, string +call(foo int32 (attr)) ### unexpected '(', expecting ',', ')' define FOO bar @@ -81,3 +82,15 @@ type templ_struct0[A, B] { typ const[A, int16] data B } [align_4] + +s4 { + f0 int8 (attr) + f1 int8 (attr1, attr2[arg1, "arg2"]) + f2 int8 ("attr1") +} + +s5 { + f0 int8 ( ### unexpected '\n', expecting int, identifier, string + +s6 { + f0 int8 () ### unexpected ')', expecting int, identifier, string
\ No newline at end of file |
