Dan Gohman | 2d65d35 | 2009-08-25 15:38:29 +0000 | [diff] [blame] | 1 | // RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 2 | |
3 | struct Foo { | ||||
4 | unsigned a; | ||||
5 | unsigned b; | ||||
6 | unsigned c; | ||||
7 | }; | ||||
8 | |||||
9 | struct Bar { | ||||
10 | union { | ||||
11 | void **a; | ||||
12 | struct Foo b; | ||||
13 | }u; | ||||
14 | }; | ||||
15 | |||||
16 | struct Bar test = {0}; | ||||
17 |