repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
comp-types-1.mm
blob
6402abc213b23f02714895937d1878df75feda85
1
/* { dg-do compile } */
2
// { dg-additional-options "-Wno-objc-root-class" }
3
4
@interface A
5
+ new;
6
@end
7
8
@interface B : A
9
@end
10
11
int main(int argc, char **argv) {
12
B *b = [B new];
13
A *a = b;
14
15
return (b == a);
16
}
17