Eric Christopher | 3883e66 | 2011-07-26 22:17:02 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 %s -emit-llvm -o - |
2 | // PR906 | ||||
3 | |||||
4 | struct state_struct { | ||||
5 | unsigned long long phys_frame: 50; | ||||
6 | unsigned valid : 2; | ||||
7 | } s; | ||||
8 | |||||
9 | int mem_access(struct state_struct *p) { | ||||
10 | return p->valid; | ||||
11 | } | ||||
12 |