OSDN Git Service

2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / objc.dg / proto-lossage-6.m
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