URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
/* Test to make sure that file name does not appear in the binary. */
|
/* Test to make sure that file name does not appear in the binary. */
|
/* { dg-do compile { target *-*-darwin* } } */
|
/* { dg-do compile { target *-*-darwin* } } */
|
|
|
#include <objc/objc.h>
|
#include <objc/objc.h>
|
|
|
@interface Foo { Class isa; } @end
|
@interface Foo { Class isa; } @end
|
@implementation Foo @end
|
@implementation Foo @end
|
|
|
@interface Bar : Foo { Class Barisa; } @end
|
@interface Bar : Foo { Class Barisa; } @end
|
|
|
@implementation Bar : Foo @end;
|
@implementation Bar : Foo @end;
|
|
|
@interface FINAL : Bar { Class FINALisa; } @end
|
@interface FINAL : Bar { Class FINALisa; } @end
|
|
|
@implementation FINAL : Bar @end;
|
@implementation FINAL : Bar @end;
|
|
|
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
{
|
{
|
return 0;
|
return 0;
|
}
|
}
|
|
|
/* { dg-final { scan-assembler-not "objc-nofilename-1.m" } } */
|
/* { dg-final { scan-assembler-not "objc-nofilename-1.m" } } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.