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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [objc.dg/] [proto-lossage-6.m] - Blame information for rev 315

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

Line No. Rev Author Line
1 309 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.