aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/compiler/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/compiler/testdata')
-rw-r--r--pkg/compiler/testdata/auto.txt4
-rw-r--r--pkg/compiler/testdata/auto.txt.const6
-rw-r--r--pkg/compiler/testdata/auto0.txt4
-rw-r--r--pkg/compiler/testdata/auto0.txt.const6
4 files changed, 20 insertions, 0 deletions
diff --git a/pkg/compiler/testdata/auto.txt b/pkg/compiler/testdata/auto.txt
new file mode 100644
index 000000000..1e64e0a95
--- /dev/null
+++ b/pkg/compiler/testdata/auto.txt
@@ -0,0 +1,4 @@
+# Copyright 2024 syzkaller project authors. All rights reserved.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+foo(a const[FOO])
diff --git a/pkg/compiler/testdata/auto.txt.const b/pkg/compiler/testdata/auto.txt.const
new file mode 100644
index 000000000..388aa936f
--- /dev/null
+++ b/pkg/compiler/testdata/auto.txt.const
@@ -0,0 +1,6 @@
+# Copyright 2024 syzkaller project authors. All rights reserved.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+arches = 64
+SYS_foo = 11
+FOO = 22
diff --git a/pkg/compiler/testdata/auto0.txt b/pkg/compiler/testdata/auto0.txt
new file mode 100644
index 000000000..9c3608caf
--- /dev/null
+++ b/pkg/compiler/testdata/auto0.txt
@@ -0,0 +1,4 @@
+# Copyright 2024 syzkaller project authors. All rights reserved.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+foo$auto(a const[FOO])
diff --git a/pkg/compiler/testdata/auto0.txt.const b/pkg/compiler/testdata/auto0.txt.const
new file mode 100644
index 000000000..4ba494b07
--- /dev/null
+++ b/pkg/compiler/testdata/auto0.txt.const
@@ -0,0 +1,6 @@
+# Copyright 2024 syzkaller project authors. All rights reserved.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+arches = 64
+SYS_foo = 1
+FOO = 2