pretty2.C: Update for change in __FUNCTION__.
authorAndrew Pinski <pinskia@physics.uc.edu>
Fri, 5 Sep 2003 15:36:37 +0000 (15:36 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Fri, 5 Sep 2003 15:36:37 +0000 (08:36 -0700)
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.

From-SVN: r71114

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

index 2b99c09c6c5ac8d9fc617fc691857bc4a0abd4ab..6b4de177bd5d0b7dd95842aafc694f9c153f106e 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 c309dc8d62db5ace537ba75150c7109a6cf179d4..26d4d71cdf620e3795532c763795fef53b7a5771 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 d8ae3c8218a799d2549dc5123b1dbfc7450fbdb3..6348ae1ee67449e575787060aba80dd16486e23a 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;