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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [objc.dg/] [next-runtime-1.m] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 309 jeremybenn
/* Test that the correct version number (6) is set in the module descriptor
2
   when compiling for the NeXT runtime.  */
3
/* Author: Ziemowit Laski <zlaski@apple.com>  */
4
 
5
/* { dg-do compile { target *-*-darwin* } } */
6
/* { dg-skip-if "" { *-*-* } { "-fgnu-runtime" } { "" } } */
7
 
8
#include "../objc-obj-c++-shared/Object1.h"
9
 
10
@interface FooBar: Object
11
- (void)boo;
12
@end
13
 
14
@implementation FooBar
15
- (void)boo { }
16
@end
17
 
18
/* { dg-final { scan-assembler "L_OBJC_MODULES:\n\[ \t\]*\.long\t6\n" { target { *-*-darwin* && { ! lp64 } } } } } */
19
/* { dg-final { scan-assembler "L_OBJC_MODULES:\n\[ \t\]*\.quad\t6\n" { target { *-*-darwin* && {  lp64 } } } } } */

powered by: WebSVN 2.1.0

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