summaryrefslogtreecommitdiff
path: root/test/dot_s/basics.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/dot_s/basics.s')
-rw-r--r--test/dot_s/basics.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/dot_s/basics.s b/test/dot_s/basics.s
index b9c3baeed..c4f6776d6 100644
--- a/test/dot_s/basics.s
+++ b/test/dot_s/basics.s
@@ -47,6 +47,7 @@ BB0_3: # in Loop: Header=BB0_1 Depth=1
BB0_4:
i32.const $push11=, -12
i32.add $0=, $0, $pop11
+ i32.const $discard=, main # just take address for testing
BB0_5: # %.loopexit
return $0
func_end0:
@@ -58,4 +59,10 @@ func_end0:
.asciz "hello, world!\n"
.size .str, 15
+ .type a2,@object # @a2
+ .globl a2
+a2:
+ .int8 118 # 0x76
+ .ascii "cq"
+ .size a2, 3 # surprisingly large size