| Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %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 | } | ||||