2016-12-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git] / gcc / testsuite / obj-c++.dg / proto-lossage-6.mm
blob6a4552eb048070eb038a649fdd2d57e22cab521b
1 @class Base;
2 @protocol _Protocol;
4 @interface ClassA {
6 -(void) func1:(Base<_Protocol> *)inTarget;
7 @end
9 int main()
11         ClassA* theA = 0;
12         Base<_Protocol>* myBase = 0;
13         [theA func1:myBase];
15         return 0;