summaryrefslogtreecommitdiff
path: root/test/torture-s/20020107-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/20020107-1.c.s')
-rw-r--r--test/torture-s/20020107-1.c.s9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/20020107-1.c.s b/test/torture-s/20020107-1.c.s
index 433a31eb0..66231eb3a 100644
--- a/test/torture-s/20020107-1.c.s
+++ b/test/torture-s/20020107-1.c.s
@@ -13,6 +13,7 @@ foo: # @foo
i32.const $push0=, 2
i32.add $push1=, $0, $pop0
return $pop1
+ .endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
@@ -29,18 +30,20 @@ main: # @main
#APP
#NO_APP
i32.const $2=, 1
- block .LBB1_2
+ block
i32.add $push0=, $0, $2
i32.sub $push1=, $pop0, $1
i32.ne $push2=, $pop1, $2
- br_if $pop2, .LBB1_2
+ br_if $pop2, 0 # 0: down to label0
# BB#1: # %bar.exit
i32.const $push3=, 0
call exit@FUNCTION, $pop3
unreachable
.LBB1_2: # %if.then.i
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
@@ -53,5 +56,5 @@ buf:
.size buf, 10
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits