summaryrefslogtreecommitdiff
path: root/test/torture-s/struct-ini-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/struct-ini-1.c.s')
-rw-r--r--test/torture-s/struct-ini-1.c.s47
1 files changed, 47 insertions, 0 deletions
diff --git a/test/torture-s/struct-ini-1.c.s b/test/torture-s/struct-ini-1.c.s
new file mode 100644
index 000000000..d78bdaae5
--- /dev/null
+++ b/test/torture-s/struct-ini-1.c.s
@@ -0,0 +1,47 @@
+ .text
+ .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/struct-ini-1.c"
+ .globl main
+ .type main,@function
+main: # @main
+ .result i32
+ .local i32
+# BB#0: # %entry
+ i32.const $0=, 0
+ block BB0_4
+ i32.load8_u $push2=, object($0)
+ i32.const $push3=, 88
+ i32.ne $push4=, $pop2, $pop3
+ br_if $pop4, BB0_4
+# BB#1: # %entry
+ i32.load $push0=, object+4($0)
+ i32.const $push5=, 8
+ i32.ne $push6=, $pop0, $pop5
+ br_if $pop6, BB0_4
+# BB#2: # %entry
+ i32.load $push1=, object+8($0)
+ i32.const $push7=, 9
+ i32.ne $push8=, $pop1, $pop7
+ br_if $pop8, BB0_4
+# BB#3: # %if.end
+ call exit, $0
+ unreachable
+BB0_4: # %if.then
+ call abort
+ unreachable
+func_end0:
+ .size main, func_end0-main
+
+ .type object,@object # @object
+ .data
+ .globl object
+ .align 2
+object:
+ .int8 88 # 0x58
+ .zero 3
+ .int32 8 # 0x8
+ .int32 9 # 0x9
+ .size object, 12
+
+
+ .ident "clang version 3.8.0 "
+ .section ".note.GNU-stack","",@progbits