OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / objc.dg / stabs-1.m
1 /* Check if the final SO STABS record goes into the .text section.  */
2 /* Contributed by Ziemowit Laski <zlaski@apple.com> */
3
4 /* { dg-do compile } */
5 /* { dg-skip-if "No stabs" { mmix-*-* *-*-aix* alpha*-*-* hppa*64*-*-* ia64-*-* } { "*" } { "" } } */
6 /* { dg-options "-gstabs" } */
7
8 @interface MyClass
9 + newWithArg: arg;
10 @end
11
12 @implementation MyClass
13 + newWithArg: arg
14 {
15 }
16 @end
17
18 /* { dg-final { scan-assembler "(.SUBSPA.*\[\$\]CODE\[\$\]|.text\"?)\n\t.stabs.*100,0,0,(\[\.\$\])?L?L\[\$\]?etext\[0-9\]*\n(\[\.\$\])?L?L\[\$\]?etext" } } */