Daily bump.
[official-gcc.git] / gcc / testsuite / obj-c++.dg / comp-types-1.mm
blob6402abc213b23f02714895937d1878df75feda85
1 /* { dg-do compile } */
2 // { dg-additional-options "-Wno-objc-root-class" }
4 @interface A
5 + new;
6 @end
8 @interface B : A
9 @end
11 int main(int argc, char **argv) {
12     B *b = [B new];
13     A *a = b;
15     return (b == a);