OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [obj-c++.dg/] [gnu-runtime-1.mm] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 308 jeremybenn
/* Test that compiling for the GNU runtime works (regardless of
2
   the system runtime used).  */
3
/* Author: Ziemowit Laski   */
4
/* { dg-do compile } */
5
/* { dg-skip-if "" { *-*-* } { "-fnext-runtime" } { "" } } */
6
 
7
#include 
8
 
9
@interface FooBar: Object
10
- (void)boo;
11
@end
12
 
13
int main ()
14
{
15
  id fooBarInst = [[FooBar alloc] init];
16
  [fooBarInst boo];
17
  return 0;
18
}
19
 

powered by: WebSVN 2.1.0

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