summaryrefslogtreecommitdiff
path: root/test/torture-s/pr47299.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr47299.c.s')
-rw-r--r--test/torture-s/pr47299.c.s9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/pr47299.c.s b/test/torture-s/pr47299.c.s
index a17414dc8..c6afeb0b7 100644
--- a/test/torture-s/pr47299.c.s
+++ b/test/torture-s/pr47299.c.s
@@ -11,6 +11,7 @@ foo: # @foo
i32.const $push0=, 255
i32.mul $push1=, $0, $pop0
return $pop1
+ .endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
@@ -21,21 +22,23 @@ foo: # @foo
main: # @main
.result i32
# BB#0: # %entry
- block .LBB1_2
+ block
i32.const $push0=, 64
i32.call $push1=, foo@FUNCTION, $pop0
i32.const $push2=, 16320
i32.ne $push3=, $pop1, $pop2
- br_if $pop3, .LBB1_2
+ br_if $pop3, 0 # 0: down to label0
# BB#1: # %if.end
i32.const $push4=, 0
return $pop4
.LBB1_2: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits