OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [objc.dg/] [proto-lossage-6.m] - Blame information for rev 841

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { 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
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.