Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc %s -emit-llvm -o %t |
Lauro Ramos Venancio | 8432f4b | 2008-02-07 18:18:58 +0000 | [diff] [blame] | 2 | // PR1990 |
3 | |||||
4 | struct test { | ||||
5 | char a[3]; | ||||
6 | unsigned char b:1; | ||||
7 | }; | ||||
8 | |||||
9 | void f(struct test *t) { | ||||
10 | t->b = 1; | ||||
11 | } |