aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/compiler/testdata
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-03-15 22:20:09 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-03-17 21:19:13 +0100
commit5de34a784c610ab08888c185dd0c09f542d62d4f (patch)
treece67031fb9cdf389da95747e2691627971861899 /pkg/compiler/testdata
parentacf69c5ed9f8722bd1659342b7de4dfbaf3fef91 (diff)
pkg/compiler: don't specify syscall consts for test OS
This is just tedious. Fabricate them on the fly.
Diffstat (limited to 'pkg/compiler/testdata')
-rw-r--r--pkg/compiler/testdata/warnings.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/compiler/testdata/warnings.txt b/pkg/compiler/testdata/warnings.txt
index c85fa686d..99b59e5ed 100644
--- a/pkg/compiler/testdata/warnings.txt
+++ b/pkg/compiler/testdata/warnings.txt
@@ -15,7 +15,7 @@ type suspicious_len_template[T] {
b ptr[in, array[T]]
}
-bar() ### unsupported syscall: bar due to missing const SYS_bar
-bar$1()
+unsupported() ### unsupported syscall: unsupported due to missing const SYS_unsupported
+unsupported$1()
foo(a const[NO_SUCH_CONST], b r0) ### unsupported syscall: foo due to missing const NO_SUCH_CONST
resource r0[int32]: NO_EITHER ### unsupported resource: r0 due to missing const NO_EITHER