diff options
Diffstat (limited to 'test/torture-s/20050203-1.c.s')
-rw-r--r-- | test/torture-s/20050203-1.c.s | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/torture-s/20050203-1.c.s b/test/torture-s/20050203-1.c.s index ecd372fec..e4144923c 100644 --- a/test/torture-s/20050203-1.c.s +++ b/test/torture-s/20050203-1.c.s @@ -19,17 +19,19 @@ main: # @main call foo@FUNCTION, $3 i32.load8_s $0=, 15($4) call bar@FUNCTION - block .LBB0_2 + block i32.const $push0=, -1 i32.gt_s $push1=, $0, $pop0 - br_if $pop1, .LBB0_2 + br_if $pop1, 0 # 0: down to label0 # BB#1: # %if.then i32.const $push2=, 0 call exit@FUNCTION, $pop2 unreachable .LBB0_2: # %if.else + end_block # label0: call abort@FUNCTION unreachable + .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main @@ -41,6 +43,7 @@ foo: # @foo i32.const $push0=, 129 i32.store8 $discard=, 0($0), $pop0 return + .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -51,9 +54,10 @@ bar: # @bar #APP #NO_APP return + .endfunc .Lfunc_end2: .size bar, .Lfunc_end2-bar - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |