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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [objc.dg/] [objc-nofilename-1.m] - Blame information for rev 797

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 704 jeremybenn
/* Test to make sure that file name does not appear in the binary. */
2
/* { dg-do compile { target *-*-darwin* } } */
3
 
4
#include <objc/objc.h>
5
 
6
@interface Foo { Class isa; } @end
7
@implementation Foo @end
8
 
9
@interface Bar : Foo { Class Barisa; } @end
10
 
11
@implementation Bar : Foo @end;
12
 
13
@interface FINAL : Bar { Class FINALisa; } @end
14
 
15
@implementation FINAL : Bar @end;
16
 
17
int main(int argc, char **argv)
18
{
19
     return 0;
20
}
21
 
22
/* { dg-final { scan-assembler-not "objc-nofilename-1.m" } } */

powered by: WebSVN 2.1.0

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