Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc %s -emit-llvm -o %t |
Devang Patel | d8ecd3c | 2008-05-06 19:57:59 +0000 | [diff] [blame] | 2 | typedef struct { unsigned int i: 1; } c; |
| 3 | const c d = { 1 }; |
| 4 | |
Eli Friedman | c8ba961 | 2008-05-12 15:06:05 +0000 | [diff] [blame] | 5 | // PR2310 |
| 6 | struct Token { |
| 7 | unsigned n : 31; |
| 8 | }; |
| 9 | void sqlite3CodeSubselect(){ |
| 10 | struct Token one = { 1 }; |
| 11 | } |
| 12 | |
Eli Friedman | b03d9af | 2009-05-07 23:42:42 +0000 | [diff] [blame] | 13 | typedef union T0 { char field0 : 2; } T0; |
| 14 | T0 T0_values = { 0 }; |