re PR testsuite/22523 (template/inline1.C does not test correctly on all targerts)
authorJanis Johnson <janis187@us.ibm.com>
Tue, 20 May 2008 23:31:40 +0000 (23:31 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Tue, 20 May 2008 23:31:40 +0000 (23:31 +0000)
PR testsuite/22523
* g++.dg/template/inline1.C: Handle syntax for more assemblers.

From-SVN: r135691

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/inline1.C

index ab4b65a5b690414d3d70b4656b9146036cdfbcd6..99ca3bcd10dd199f1b70c75a4d2e1b0e229b359d 100644 (file)
@@ -1,5 +1,8 @@
 2008-05-20  Janis Johnson  <janis187@us.ibm.com>
 
+       PR testsuite/22523
+       * g++.dg/template/inline1.C: Handle syntax for more assemblers.
+
        * lib/scandump.exp (scan-dump): Handle non-existent dump file.
        (scan-dump-times): Ditto.
        (scan-dump-not): Ditto.
index c5e39bb273874aa92220edea5472ff603701d55a..d6904c42f16cde6b397131e33cc2cebae3c4923c 100644 (file)
@@ -1,6 +1,6 @@
 // { dg-do compile }
 // { dg-options "-fno-default-inline -O0" }
-// { dg-final { scan-assembler-not _ZN1X3FooIiEEvT_: } }
+// { dg-final { scan-assembler-not "\[^ \t\]_ZN1X3FooIiEEvT_\[: \t\n\]" } }
 
 // Copyright (C) 2003 Free Software Foundation, Inc.
 // Contributed by Nathan Sidwell 27 Mar 2003 <nathan@codesourcery.com>