summaryrefslogtreecommitdiff
path: root/test/torture-s/20031211-2.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/20031211-2.c.s')
-rw-r--r--test/torture-s/20031211-2.c.s34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/torture-s/20031211-2.c.s b/test/torture-s/20031211-2.c.s
new file mode 100644
index 000000000..93553800c
--- /dev/null
+++ b/test/torture-s/20031211-2.c.s
@@ -0,0 +1,34 @@
+ .text
+ .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/20031211-2.c"
+ .globl main
+ .type main,@function
+main: # @main
+ .result i32
+# BB#0: # %entry
+ i32.const $push0=, 0
+ call exit, $pop0
+ unreachable
+func_end0:
+ .size main, func_end0-main
+
+ .globl foo
+ .type foo,@function
+foo: # @foo
+ .param i32
+ .result i32
+# BB#0: # %entry
+ block BB1_2
+ i32.const $push0=, 3
+ i32.ne $push1=, $0, $pop0
+ br_if $pop1, BB1_2
+# BB#1: # %if.end
+ return $0
+BB1_2: # %if.then
+ call abort
+ unreachable
+func_end1:
+ .size foo, func_end1-foo
+
+
+ .ident "clang version 3.8.0 "
+ .section ".note.GNU-stack","",@progbits