summaryrefslogtreecommitdiff
path: root/test/torture-s/pr41463.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr41463.c.s')
-rw-r--r--test/torture-s/pr41463.c.s9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/pr41463.c.s b/test/torture-s/pr41463.c.s
index e40d9dfd5..ef8658310 100644
--- a/test/torture-s/pr41463.c.s
+++ b/test/torture-s/pr41463.c.s
@@ -21,6 +21,7 @@ foo: # @foo
i32.store $discard=, 0($pop6), $pop7
i32.load $push8=, 0($1)
return $pop8
+ .endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
@@ -31,20 +32,22 @@ foo: # @foo
main: # @main
.result i32
# BB#0: # %entry
- block .LBB1_2
+ block
i32.const $push0=, 76
i32.call $push1=, malloc@FUNCTION, $pop0
i32.const $push2=, 1
i32.call $push3=, foo@FUNCTION, $pop1, $pop2
i32.const $push4=, global
i32.ne $push5=, $pop3, $pop4
- br_if $pop5, .LBB1_2
+ br_if $pop5, 0 # 0: down to label0
# BB#1: # %if.end
i32.const $push6=, 0
return $pop6
.LBB1_2: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
@@ -58,5 +61,5 @@ global:
.size global, 76
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits