re PR testsuite/22523 (template/inline1.C does not test correctly on all targerts)
authorHans-Peter Nilsson <hp@axis.com>
Sat, 24 May 2008 00:37:01 +0000 (00:37 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Sat, 24 May 2008 00:37:01 +0000 (00:37 +0000)
PR testsuite/22523
* g++.dg/template/inline1.C: For the not-defined symbol, use the
pattern from g++.dg/template/qualttp17.C.

From-SVN: r135840

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

index a5ece90857fcc151f1101fbae1c31d2f1b380e6f..b7909d3699e7f15cdfaf9e67c62f3734c0b3d531 100644 (file)
@@ -1,3 +1,9 @@
+2008-05-24  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR testsuite/22523
+       * g++.dg/template/inline1.C: For the not-defined symbol, use the
+       pattern from g++.dg/template/qualttp17.C.
+
 2008-05-23  Rafael Espindola  <espindola@google.com>
 
        * gcc/testsuite/gcc.c-torture/compile/20080522-1.c: Move to gcc.dg.
index d6904c42f16cde6b397131e33cc2cebae3c4923c..c7ae1f5cae9a1e19d3995099e489ffc3b68ba9ab 100644 (file)
@@ -1,6 +1,6 @@
 // { dg-do compile }
 // { dg-options "-fno-default-inline -O0" }
-// { dg-final { scan-assembler-not "\[^ \t\]_ZN1X3FooIiEEvT_\[: \t\n\]" } }
+// { dg-final { scan-assembler-not "\n_?_ZN1X3FooIiEEvT_\[: \t\n\]" } }
 
 // Copyright (C) 2003 Free Software Foundation, Inc.
 // Contributed by Nathan Sidwell 27 Mar 2003 <nathan@codesourcery.com>