diff options
Diffstat (limited to 'test/torture-s/20031211-2.c.s')
-rw-r--r-- | test/torture-s/20031211-2.c.s | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/20031211-2.c.s b/test/torture-s/20031211-2.c.s index e7718df65..e165d5fa2 100644 --- a/test/torture-s/20031211-2.c.s +++ b/test/torture-s/20031211-2.c.s @@ -10,6 +10,7 @@ main: # @main i32.const $push0=, 0 call exit@FUNCTION, $pop0 unreachable + .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main @@ -21,18 +22,20 @@ foo: # @foo .param i32 .result i32 # BB#0: # %entry - block .LBB1_2 + block i32.const $push0=, 3 i32.ne $push1=, $0, $pop0 - br_if $pop1, .LBB1_2 + br_if $pop1, 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 foo, .Lfunc_end1-foo - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |