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