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] - Diff between revs 308 and 338

Only display areas with differences | Details | Blame | View Log

Rev 308 Rev 338
/* Test that compiling for the GNU runtime works (regardless of
/* Test that compiling for the GNU runtime works (regardless of
   the system runtime used).  */
   the system runtime used).  */
/* Author: Ziemowit Laski   */
/* Author: Ziemowit Laski   */
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-skip-if "" { *-*-* } { "-fnext-runtime" } { "" } } */
/* { dg-skip-if "" { *-*-* } { "-fnext-runtime" } { "" } } */
#include 
#include 
@interface FooBar: Object
@interface FooBar: Object
- (void)boo;
- (void)boo;
@end
@end
int main ()
int main ()
{
{
  id fooBarInst = [[FooBar alloc] init];
  id fooBarInst = [[FooBar alloc] init];
  [fooBarInst boo];
  [fooBarInst boo];
  return 0;
  return 0;
}
}
 
 

powered by: WebSVN 2.1.0

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