diff options
Diffstat (limited to 'test/func-param-scope.qbe')
-rw-r--r-- | test/func-param-scope.qbe | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/func-param-scope.qbe b/test/func-param-scope.qbe new file mode 100644 index 0000000..4272fc7 --- /dev/null +++ b/test/func-param-scope.qbe @@ -0,0 +1,13 @@ +export +function l $f(l %.1, l %.3, l %.5) { +@start.1 + %.2 =l alloc8 8 + storel %.1, %.2 + %.4 =l alloc8 8 + storel %.3, %.4 + %.6 =l alloc8 8 + storel %.5, %.6 +@body.2 + %.7 =l extsw 0 + ret %.7 +} |