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