2014-10-24 Christophe Lyon <christophe.lyon@linaro.org>
[official-gcc.git] / gcc / testsuite / objc.dg / stabs-1.m
blobe43f7d84aa410067cf3f6113222ed970887d0c66
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 /* See PR target/52152 for the xfail.  */
19 /* { dg-final { scan-assembler "(.SUBSPA.*\[\$\]CODE\[\$\]|.text\"?)\n\t.stabs.*100,0,0,(\[\.\$\])?L?L\[\$\]?etext\[0-9\]*\n(\[\.\$\])?L?L\[\$\]?etext" { xfail mips*-*-elf* } } } */