diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-05 15:36:37 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-05 15:36:37 +0000 |
commit | f6fbe1972d5a3005266b385749eae2349f886585 (patch) | |
tree | ce3e34af1207bb7ff4e0087cea430c7fe8b6327d | |
parent | 00b114bf3c4ead7c297b9076cbd72259d3e61513 (diff) | |
download | gcc-f6fbe1972d5a3005266b385749eae2349f886585.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71114 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.ext/pretty2.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.ext/pretty3.C | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2b99c09c6c5..6b4de177bd5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/g++.old-deja/g++.ext/pretty2.C b/gcc/testsuite/g++.old-deja/g++.ext/pretty2.C index c309dc8d62d..26d4d71cdf6 100644 --- a/gcc/testsuite/g++.old-deja/g++.ext/pretty2.C +++ b/gcc/testsuite/g++.old-deja/g++.ext/pretty2.C @@ -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; diff --git a/gcc/testsuite/g++.old-deja/g++.ext/pretty3.C b/gcc/testsuite/g++.old-deja/g++.ext/pretty3.C index d8ae3c8218a..6348ae1ee67 100644 --- a/gcc/testsuite/g++.old-deja/g++.ext/pretty3.C +++ b/gcc/testsuite/g++.old-deja/g++.ext/pretty3.C @@ -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; |