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
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
objc.dg
/
proto-lossage-6.m
blob
2b8720c367062506832bc9ef7e590ca7b98816e5
1
/* { dg-do compile } */
2
@class Base;
3
@protocol _Protocol;
4
5
@interface ClassA {
6
}
7
-(void) func1:(Base<_Protocol> *)inTarget;
8
@end
9
10
int main()
11
{
12
ClassA* theA = 0;
13
Base<_Protocol>* myBase = 0;
14
[theA func1:myBase];
15
16
return 0;
17
}
18