Daniel Dunbar | 8fbe78f | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Andy Gibbs | c6e68da | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 2 | // expected-no-diagnostics |
Douglas Gregor | 82ac25e | 2009-01-08 20:45:30 +0000 | [diff] [blame] | 3 | |
4 | @interface I1 { | ||||
5 | @private | ||||
6 | int x; | ||||
7 | struct { | ||||
8 | unsigned int x : 3; | ||||
9 | unsigned int y : 3; | ||||
10 | } flags; | ||||
11 | int y; | ||||
12 | } | ||||
13 | @end |