summaryrefslogtreecommitdiff
path: root/test/torture-s/pr59101.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr59101.c.s')
-rw-r--r--test/torture-s/pr59101.c.s9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/pr59101.c.s b/test/torture-s/pr59101.c.s
index f56a59021..69e34f027 100644
--- a/test/torture-s/pr59101.c.s
+++ b/test/torture-s/pr59101.c.s
@@ -15,6 +15,7 @@ foo: # @foo
i32.const $push2=, 6
i32.or $push3=, $pop1, $pop2
return $pop3
+ .endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
@@ -27,19 +28,21 @@ main: # @main
.local i32
# BB#0: # %entry
i32.const $0=, 0
- block .LBB1_2
+ block
i32.call $push0=, foo@FUNCTION, $0
i32.const $push1=, 7
i32.ne $push2=, $pop0, $pop1
- br_if $pop2, .LBB1_2
+ br_if $pop2, 0 # 0: down to label0
# BB#1: # %if.end
return $0
.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