summaryrefslogtreecommitdiff
path: root/test/torture-s/pr22348.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr22348.c.s')
-rw-r--r--test/torture-s/pr22348.c.s9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/pr22348.c.s b/test/torture-s/pr22348.c.s
index 74a2f6550..c4dd7cc35 100644
--- a/test/torture-s/pr22348.c.s
+++ b/test/torture-s/pr22348.c.s
@@ -7,15 +7,17 @@
f: # @f
.param i32
# BB#0: # %entry
- block .LBB0_2
+ block
i32.const $push0=, 53
i32.ge_s $push1=, $0, $pop0
- br_if $pop1, .LBB0_2
+ br_if $pop1, 0 # 0: down to label0
# BB#1: # %if.end
return
.LBB0_2: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end0:
.size f, .Lfunc_end0-f
@@ -28,9 +30,10 @@ main: # @main
# BB#0: # %entry
i32.const $push0=, 0
return $pop0
+ .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