OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR testsuite/23611, PR testsuite/23615
[pf3gnuchains/gcc-fork.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