aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/compiler/testdata/errors2.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-04-29 10:56:48 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-04-29 12:04:22 +0200
commit1e85f7b9af8e29f06a22eb1ff325de2a40072738 (patch)
treefbbe16d0eb26f84ad22b82e0925420b1177798e2 /pkg/compiler/testdata/errors2.txt
parentc7f6891ca7dc623ed77840580cb9270c61d200ee (diff)
pkg/ast: support char constants
Frequently it's useful to do something like: int8['a':'z'] punctuation = ',', '-', ':'
Diffstat (limited to 'pkg/compiler/testdata/errors2.txt')
-rw-r--r--pkg/compiler/testdata/errors2.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/compiler/testdata/errors2.txt b/pkg/compiler/testdata/errors2.txt
index 86148a563..69fa46e62 100644
--- a/pkg/compiler/testdata/errors2.txt
+++ b/pkg/compiler/testdata/errors2.txt
@@ -183,5 +183,6 @@ foo$505(a proc[20, 0]) ### proc per-process values must not be 0
foo$506(a ptr[in, array[int32, 0]]) ### arrays of size 0 are not supported
foo$507(a ptr[in, array[int32, 0:0]]) ### arrays of size 0 are not supported
foo$508(a ptr[in, string["foo", 3]]) ### string value "foo\x00" exceeds buffer length 3
+foo$509(a int8['b':'a']) ### bad int range [98:97]
type type500 proc[C1, 8, int8] ### values starting from 1 with step 8 overflow base type for 32 procs