Dan Gohman | c62ced5 | 2008-06-09 21:26:13 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llvm-dis | grep 7 | count 3 |
| 2 | |
| 3 | define void @foo({i32, i32}* %x) nounwind { |
| 4 | store {i32, i32}{i32 7, i32 9}, {i32, i32}* %x |
| 5 | ret void |
| 6 | } |
| 7 | define void @foo_empty({}* %x) nounwind { |
| 8 | store {}{}, {}* %x |
| 9 | ret void |
| 10 | } |
| 11 | define void @bar([2 x i32]* %x) nounwind { |
| 12 | store [2 x i32][i32 7, i32 9], [2 x i32]* %x |
| 13 | ret void |
| 14 | } |
| 15 | define void @bar_empty([0 x i32]* %x) nounwind { |
| 16 | store [0 x i32][], [0 x i32]* %x |
| 17 | ret void |
| 18 | } |
| 19 | define void @qux(<{i32, i32}>* %x) nounwind { |
| 20 | store <{i32, i32}><{i32 7, i32 9}>, <{i32, i32}>* %x |
| 21 | ret void |
| 22 | } |
| 23 | define void @qux_empty(<{}>* %x) nounwind { |
| 24 | store <{}><{}>, <{}>* %x |
| 25 | ret void |
| 26 | } |
| 27 | |