diff options
Diffstat (limited to 'test/torture-s/20060930-2.c.s')
-rw-r--r-- | test/torture-s/20060930-2.c.s | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/20060930-2.c.s b/test/torture-s/20060930-2.c.s index 5f108f3f5..b7c62e246 100644 --- a/test/torture-s/20060930-2.c.s +++ b/test/torture-s/20060930-2.c.s @@ -15,6 +15,7 @@ bar: # @bar i32.store $discard=, 0($0), $pop2 i32.load $push3=, 0($1) return $pop3 + .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -28,17 +29,19 @@ main: # @main # BB#0: # %entry i32.const $0=, 0 i32.const $1=, s - block .LBB1_2 + block i32.call $push2=, bar@FUNCTION, $1, $1 i32.const $push0=, t i32.store $push1=, t($0), $pop0 i32.ne $push3=, $pop2, $pop1 - br_if $pop3, .LBB1_2 + br_if $pop3, 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 @@ -61,5 +64,5 @@ t: .size t, 4 - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |