diff options
Diffstat (limited to 'clang/test/SemaObjC/interface-scope.m')
-rw-r--r-- | clang/test/SemaObjC/interface-scope.m | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/clang/test/SemaObjC/interface-scope.m b/clang/test/SemaObjC/interface-scope.m new file mode 100644 index 0000000..0671dae --- /dev/null +++ b/clang/test/SemaObjC/interface-scope.m @@ -0,0 +1,12 @@ +// RUN: %clang_cc1 -fsyntax-only -verify %s + +@interface I1 { +@private + int x; + struct { + unsigned int x : 3; + unsigned int y : 3; + } flags; + int y; +} +@end |