diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f879b238554..56acc8e3e76 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-12-16 Ziemowit Laski + + * objc.dg/stabs-1.m: New test. + 2004-12-16 Andrew Pinski * gcc.dg/visibility-c.c: Change compile to diff --git a/gcc/testsuite/objc.dg/stabs-1.m b/gcc/testsuite/objc.dg/stabs-1.m new file mode 100644 index 00000000000..fc07b633115 --- /dev/null +++ b/gcc/testsuite/objc.dg/stabs-1.m @@ -0,0 +1,18 @@ +/* Check if the final SO STABS record goes into the .text section. */ +/* Contributed by Ziemowit Laski */ + +/* { 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" } } */