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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [objc.dg/] [enhanced-proto-1.m] - Blame information for rev 711

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

Line No. Rev Author Line
1 704 jeremybenn
/* APPLE LOCAL file C* language */
2
/* Test use of @optional/@required keywords in @protocol class. */
3
/* { dg-do compile } */
4
 
5
@protocol MyProto1
6
@optional
7
- (void) FOO;
8
@optional
9
- (void) FOO;
10
@required
11
- (void) REQ;
12
@optional
13
@end
14
 
15
@protocol  MyProto2 <MyProto1>
16
- (void) FOO2;
17
@optional
18
- (void) FOO3;
19
@end

powered by: WebSVN 2.1.0

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