2003-09-05 Andrew Pinski <pinskia@physics.uc.edu>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Sep 2003 15:36:37 +0000 (15:36 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Sep 2003 15:36:37 +0000 (15:36 +0000)
        * g++.old-deja/g++.ext/pretty2.C: Update for change
        in __FUNCTION__.
        * g++.old-deja/g++.ext/pretty3.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71114 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.ext/pretty2.C
gcc/testsuite/g++.old-deja/g++.ext/pretty3.C

index 2b99c09..6b4de17 100644 (file)
@@ -1,3 +1,9 @@
+2003-09-05  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * g++.old-deja/g++.ext/pretty2.C: Update for change 
+       in __FUNCTION__.
+       * g++.old-deja/g++.ext/pretty3.C: Likewise.
+
 2003-09-05  Nathan Sidwell  <nathan@codesourcery.com>
 
        PR c++/11922
index c309dc8..26d4d71 100644 (file)
@@ -40,7 +40,7 @@ X::~X ()
   printf ("__FUNCTION__ %s\n", function);
   printf ("__PRETTY_FUNCTION__ %s\n", pretty);
   
-  if (strcmp (function, "X"))
+  if (strcmp (function, "~X"))
     bad = true;
   if (strcmp (pretty, "X::~X()"))
     bad = true;
index d8ae3c8..6348ae1 100644 (file)
@@ -33,7 +33,7 @@ template<> void f1<int> (int)
   printf ("__FUNCTION__ %s\n", function);
   printf ("__PRETTY_FUNCTION__ %s\n", pretty);
   
-  if (strcmp (function, "f1"))
+  if (strcmp (function, "f1<int>"))
     bad = true;
   if (strcmp (pretty, "void f1(T) [with T = int]"))
     bad = true;