pretty2.C: Update for change in __FUNCTION__.
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
This commit is contained in:
parent
70d651640a
commit
3f8dc57bd2
3 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue