summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/interface-scope.m
blob: 0671dae61e821f9ece5942e9619725cb97af2dba (plain)
1
2
3
4
5
6
7
8
9
10
11
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