From 08c91ab698c91dc4b8fbc597c03ac1ca10eb403c Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 2 Sep 2017 13:34:24 +0200 Subject: 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. --- pkg/compiler/testdata/errors.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkg/compiler/testdata/errors.txt') 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 -- cgit mrf-deployment