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