summaryrefslogtreecommitdiff
path: root/test/torture-s/pr47237.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr47237.c.s')
-rw-r--r--test/torture-s/pr47237.c.s9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/pr47237.c.s b/test/torture-s/pr47237.c.s
index 32dc2d2c2..cca1f1a6b 100644
--- a/test/torture-s/pr47237.c.s
+++ b/test/torture-s/pr47237.c.s
@@ -14,6 +14,7 @@ main: # @main
i32.call $discard=, __builtin_apply@FUNCTION, $pop0, $0, $pop1
i32.const $push2=, 0
return $pop2
+ .endfunc
.Lfunc_end0:
.size main, .Lfunc_end0-main
@@ -22,18 +23,20 @@ main: # @main
foo: # @foo
.param i32
# BB#0: # %entry
- block .LBB1_2
+ block
i32.const $push0=, 5
i32.ne $push1=, $0, $pop0
- br_if $pop1, .LBB1_2
+ br_if $pop1, 0 # 0: down to label0
# BB#1: # %if.end
return
.LBB1_2: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end1:
.size foo, .Lfunc_end1-foo
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits