Commit 3f8dc57b by Andrew Pinski Committed by Andrew Pinski

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
parent 70d65164
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment