summaryrefslogtreecommitdiff
path: root/test/torture-s/pr17252.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr17252.c.s')
-rw-r--r--test/torture-s/pr17252.c.s8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/torture-s/pr17252.c.s b/test/torture-s/pr17252.c.s
index dfec03617..3e07f9dc9 100644
--- a/test/torture-s/pr17252.c.s
+++ b/test/torture-s/pr17252.c.s
@@ -9,19 +9,21 @@ main: # @main
.local i32, i32
# BB#0: # %entry
i32.const $0=, 0
- block .LBB0_2
+ block
i32.const $push0=, a
i32.store $1=, a($0), $pop0
i32.const $push1=, a+1
i32.store8 $discard=, a($0), $pop1
i32.load $push2=, a($0)
i32.eq $push3=, $pop2, $1
- br_if $pop3, .LBB0_2
+ br_if $pop3, 0 # 0: down to label0
# BB#1: # %if.end
return $0
.LBB0_2: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end0:
.size main, .Lfunc_end0-main
@@ -35,5 +37,5 @@ a:
.size a, 4
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits