aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/func-unnamed-param.c1
-rw-r--r--test/func-unnamed-param.qbe6
2 files changed, 7 insertions, 0 deletions
diff --git a/test/func-unnamed-param.c b/test/func-unnamed-param.c
new file mode 100644
index 0000000..30680b8
--- /dev/null
+++ b/test/func-unnamed-param.c
@@ -0,0 +1 @@
+void f(int) {}
diff --git a/test/func-unnamed-param.qbe b/test/func-unnamed-param.qbe
new file mode 100644
index 0000000..d4087cd
--- /dev/null
+++ b/test/func-unnamed-param.qbe
@@ -0,0 +1,6 @@
+export
+function $f(w %.1) {
+@start.1
+@body.2
+ ret
+}