summaryrefslogtreecommitdiff
path: root/test/torture-s/struct-ini-4.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/struct-ini-4.c.s')
-rw-r--r--test/torture-s/struct-ini-4.c.s37
1 files changed, 37 insertions, 0 deletions
diff --git a/test/torture-s/struct-ini-4.c.s b/test/torture-s/struct-ini-4.c.s
new file mode 100644
index 000000000..e8d3fe435
--- /dev/null
+++ b/test/torture-s/struct-ini-4.c.s
@@ -0,0 +1,37 @@
+ .text
+ .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/struct-ini-4.c"
+ .globl main
+ .type main,@function
+main: # @main
+ .result i32
+ .local i32
+# BB#0: # %entry
+ i32.const $0=, 0
+ block BB0_2
+ i32.load $push0=, s+12($0)
+ i32.const $push1=, 1
+ i32.ne $push2=, $pop0, $pop1
+ br_if $pop2, BB0_2
+# BB#1: # %if.end
+ call exit, $0
+ unreachable
+BB0_2: # %if.then
+ call abort
+ unreachable
+func_end0:
+ .size main, func_end0-main
+
+ .type s,@object # @s
+ .data
+ .globl s
+ .align 2
+s:
+ .zero 12
+ .int32 1 # 0x1
+ .int32 2 # 0x2
+ .int32 3 # 0x3
+ .size s, 24
+
+
+ .ident "clang version 3.8.0 "
+ .section ".note.GNU-stack","",@progbits