summaryrefslogtreecommitdiffstats
path: root/clang/test/ASTMerge/Inputs/interface2.m
blob: 2e6b0bf2b4ea6806814d28d294969038b16003e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Matches
@interface I1 {
  int ivar1;
}
@end

// Matches
@interface I2 : I1 {
  float ivar2;
}
@end

// Ivar mismatch
@interface I3 {
  int ivar1;
  float ivar2;
}
@end

// Superclass mismatch
@interface I4 : I1 {
}
@end
OpenPOWER on IntegriCloud