aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/ast/testdata
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-08-27 15:08:11 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-08-27 15:28:49 +0200
commite2ffb4fc9111e28f1d8e0e987cb06172cbbd4e84 (patch)
tree8dc4d76063e3430321622cd81763a95a972f2e3a /pkg/ast/testdata
parente71c87fbf52c83d8e514e4685d40da4d4d0f1a1c (diff)
pkg/compiler: move more const-processing code to compiler
Diffstat (limited to 'pkg/ast/testdata')
-rw-r--r--pkg/ast/testdata/all.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/ast/testdata/all.txt b/pkg/ast/testdata/all.txt
index 443f26368..9ddf67844 100644
--- a/pkg/ast/testdata/all.txt
+++ b/pkg/ast/testdata/all.txt
@@ -22,6 +22,8 @@ call(foo int32:"bar") ### unexpected string, expecting int, identifier
define FOO `bar`
define FOO `bar ### C expression is not terminated
+foo(x int32[1:2:3, opt]) ### unexpected ':', expecting ']'
+
include <linux/foo.h>
include "linux/foo.h"
incdir </foo/bar>