URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
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;
|
}
|
}
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.