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