aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/compiler/testdata
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-09-02 13:34:24 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-09-02 13:44:28 +0200
commit08c91ab698c91dc4b8fbc597c03ac1ca10eb403c (patch)
tree25b21743f0dea4e0910c69b2c91aac8aedc6c131 /pkg/compiler/testdata
parent9c995bedad0e93426b278929ab46f5fbab130b14 (diff)
sys: support ptr64 type
ptr64 is like ptr, but always takes 8 bytes of space. Needed for some APIs. Unfortunately, most of these APIs use buffer type, so we can't use ptr64 immidiately.
Diffstat (limited to 'pkg/compiler/testdata')
-rw-r--r--pkg/compiler/testdata/errors.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/compiler/testdata/errors.txt b/pkg/compiler/testdata/errors.txt
index d5a596457..68c9895bf 100644
--- a/pkg/compiler/testdata/errors.txt
+++ b/pkg/compiler/testdata/errors.txt
@@ -133,6 +133,10 @@ s6 {
f1 int8
} [align_foo] ### bad struct s6 alignment foo
+s7 {
+ f1 ptr64[in, int32]
+}
+
u3 [
f1 int8
f2 int32