1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
---|---|
2 | // expected-no-diagnostics |
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 |
14 |
1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
---|---|
2 | // expected-no-diagnostics |
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 |
14 |