stabs-1.m: New test.
[gcc/testsuite/ChangeLog] 2004-12-16 Ziemowit Laski <zlaski@apple.com> * objc.dg/stabs-1.m: New test. From-SVN: r92302
This commit is contained in:
parent
93a1c06dc0
commit
3cc491e8f3
@ -1,3 +1,7 @@
|
||||
2004-12-16 Ziemowit Laski <zlaski@apple.com>
|
||||
|
||||
* objc.dg/stabs-1.m: New test.
|
||||
|
||||
2004-12-16 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
* gcc.dg/visibility-c.c: Change compile to
|
||||
|
18
gcc/testsuite/objc.dg/stabs-1.m
Normal file
18
gcc/testsuite/objc.dg/stabs-1.m
Normal file
@ -0,0 +1,18 @@
|
||||
/* Check if the final SO STABS record goes into the .text section. */
|
||||
/* Contributed by Ziemowit Laski <zlaski@apple.com> */
|
||||
|
||||
/* { dg-do compile } */
|
||||
/* { dg-skip-if "No stabs" { mmix-*-* *-*-aix* } { "*" } { "" } } */
|
||||
/* { dg-options "-gstabs" } */
|
||||
|
||||
@interface MyClass
|
||||
+ newWithArg: arg;
|
||||
@end
|
||||
|
||||
@implementation MyClass
|
||||
+ newWithArg: arg
|
||||
{
|
||||
}
|
||||
@end
|
||||
|
||||
/* { dg-final { scan-assembler ".text\n\t.stabs.*100,0,0,Letext\[0-9\]*\nLetext" } } */
|
Loading…
Reference in New Issue
Block a user