OSDN Git Service

6b713c2b9bed2e29ada8f9c4dfdb4025586daa76
[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 ".text\"?\n\t.stabs.*100,0,0,(\\.)?L?Letext\[0-9\]*\n(\\.)?L?Letext" } } */