cgraph: A COMDAT decl always has non-zero address.
[gcc.git] / gcc / testsuite / obj-c++.dg / comp-types-1.mm
1 /* { dg-do compile } */
2
3 @interface A
4 + new;
5 @end
6
7 @interface B : A
8 @end
9
10 int main(int argc, char **argv) {
11 B *b = [B new];
12 A *a = b;
13
14 return (b == a);
15 }
16