diff options
Diffstat (limited to 'tests/struct-return-1.qbe')
-rw-r--r-- | tests/struct-return-1.qbe | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/struct-return-1.qbe b/tests/struct-return-1.qbe new file mode 100644 index 0000000..fcdf699 --- /dev/null +++ b/tests/struct-return-1.qbe @@ -0,0 +1,10 @@ +type :s.1 = { w, } +export +function :s.1 $f() { +@start.1 + %.1 =l alloc4 4 +@body.2 + %.2 =l add %.1, 0 + storew 2, %.2 + ret %.1 +} |