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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [objc.dg/] [next-runtime-1.m] - Blame information for rev 154

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

Line No. Rev Author Line
1 149 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-options "-fnext-runtime" } */
7
 
8
#include <objc/Object.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" } } */

powered by: WebSVN 2.1.0

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