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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [objc/] [execute/] [private.m] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 307 jeremybenn
/* Contributed by Nicola Pero - Fri Mar  9 19:39:15 CET 2001 */
2
#import "../../objc-obj-c++-shared/Object1.h"
3
#include <objc/objc.h>
4
 
5
/* Test the @private, @protected, @public keyworks for ivars.  We only
6
   check syntax. */
7
 
8
@interface TestClass : Object
9
{
10
  int a;
11
 
12
@private
13
  int ivarOne, ivarTwo;
14
  id ivarThree;
15
 
16
@protected
17
  int ivarFour;
18
 
19
@public
20
  id ivarFive;
21
}
22
@end
23
 
24
@implementation TestClass
25
@end
26
 
27
 
28
int main (void)
29
{
30
  /* Only test compilation */
31
  return 0;
32
}

powered by: WebSVN 2.1.0

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