blob: bee4e7d3a059b9558f8a78b1624e7c305fb69236 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 %s -emit-llvm -o %t
Devang Pateld8ecd3c2008-05-06 19:57:59 +00002typedef struct { unsigned int i: 1; } c;
3const c d = { 1 };
4
Eli Friedmanc8ba9612008-05-12 15:06:05 +00005// PR2310
6struct Token {
7 unsigned n : 31;
8};
9void sqlite3CodeSubselect(){
10 struct Token one = { 1 };
11}
12
Eli Friedmanb03d9af2009-05-07 23:42:42 +000013typedef union T0 { char field0 : 2; } T0;
14T0 T0_values = { 0 };