aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/bitfield-init.c
blob: 1749bd3ff4d2dfa9027d3f878d0352f3da14905d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: clang %s -emit-llvm -o %t
typedef struct { unsigned int i: 1; } c;
const c d = { 1 };

// PR2310
struct Token {
  unsigned n : 31;
};
void sqlite3CodeSubselect(){
  struct Token one = { 1 };
}