1 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2 ; RUN: verify-uselistorder %s
5 ; CHECK: store { i32, i32 } { i32 7, i32 9 }, { i32, i32 }* %x
7 define void @foo({i32, i32}* %x) nounwind {
8 store {i32, i32}{i32 7, i32 9}, {i32, i32}* %x
13 ; CHECK: store {} zeroinitializer, {}* %x
15 define void @foo_empty({}* %x) nounwind {
21 ; CHECK: store [2 x i32] [i32 7, i32 9], [2 x i32]* %x
23 define void @bar([2 x i32]* %x) nounwind {
24 store [2 x i32][i32 7, i32 9], [2 x i32]* %x
29 ; CHECK: store [0 x i32] undef, [0 x i32]* %x
31 define void @bar_empty([0 x i32]* %x) nounwind {
32 store [0 x i32][], [0 x i32]* %x
37 ; CHECK: store <{ i32, i32 }> <{ i32 7, i32 9 }>, <{ i32, i32 }>* %x
39 define void @qux(<{i32, i32}>* %x) nounwind {
40 store <{i32, i32}><{i32 7, i32 9}>, <{i32, i32}>* %x
45 ; CHECK: store <{}> zeroinitializer, <{}>* %x
47 define void @qux_empty(<{}>* %x) nounwind {
48 store <{}><{}>, <{}>* %x