| Chris Lattner | b984970 | 2004-11-22 19:11:40 +0000 | [diff] [blame] | 1 | // RUN: %llvmgcc -S %s -o /dev/null |
| Tanya Lattner | e9af5d1 | 2004-11-06 22:41:00 +0000 | [diff] [blame] | 2 | |
| Chris Lattner | df97919 | 2003-08-30 20:57:49 +0000 | [diff] [blame] | 3 | struct istruct { |
| 4 | unsigned char C; | ||||
| 5 | }; | ||||
| 6 | |||||
| 7 | struct foo { | ||||
| 8 | unsigned int I:1; | ||||
| 9 | struct istruct J; | ||||
| 10 | unsigned char L[1]; | ||||
| 11 | unsigned int K:1; | ||||
| 12 | }; | ||||
| 13 | |||||
| 14 | struct foo F = { 1, { 7 }, { 123 } , 1 }; | ||||
| 15 | |||||
| 16 | |||||