2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 %s -emit-llvm -o %t
|
2008-05-07 03:57:59 +08:00
|
|
|
typedef struct { unsigned int i: 1; } c;
|
|
|
|
const c d = { 1 };
|
|
|
|
|
2008-05-12 23:06:05 +08:00
|
|
|
// PR2310
|
|
|
|
struct Token {
|
|
|
|
unsigned n : 31;
|
|
|
|
};
|
2022-02-15 22:27:12 +08:00
|
|
|
void sqlite3CodeSubselect(void){
|
2008-05-12 23:06:05 +08:00
|
|
|
struct Token one = { 1 };
|
|
|
|
}
|
|
|
|
|
2009-05-08 07:42:42 +08:00
|
|
|
typedef union T0 { char field0 : 2; } T0;
|
|
|
|
T0 T0_values = { 0 };
|