summaryrefslogtreecommitdiff
path: root/test/torture-s/pr49279.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr49279.c.s')
-rw-r--r--test/torture-s/pr49279.c.s10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/torture-s/pr49279.c.s b/test/torture-s/pr49279.c.s
index fd9ab8913..2281bad0b 100644
--- a/test/torture-s/pr49279.c.s
+++ b/test/torture-s/pr49279.c.s
@@ -11,6 +11,7 @@ bar: # @bar
#APP
#NO_APP
return $0
+ .endfunc
.Lfunc_end0:
.size bar, .Lfunc_end0-bar
@@ -50,6 +51,7 @@ foo: # @foo
i32.const $5=, __stack_pointer
i32.store $6=, 0($5), $6
return $pop4
+ .endfunc
.Lfunc_end1:
.size foo, .Lfunc_end1-foo
@@ -71,11 +73,11 @@ main: # @main
i32.add $3=, $5, $3
i32.const $4=, 8
i32.add $4=, $5, $4
- block .LBB2_2
+ block
i32.call $push0=, foo@FUNCTION, $3, $4
i32.const $push1=, 1
i32.ne $push2=, $pop0, $pop1
- br_if $pop2, .LBB2_2
+ br_if $pop2, 0 # 0: down to label0
# BB#1: # %if.end
i32.const $push3=, 0
i32.const $2=, 16
@@ -84,11 +86,13 @@ main: # @main
i32.store $5=, 0($2), $5
return $pop3
.LBB2_2: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end2:
.size main, .Lfunc_end2-main
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits