From c4c7fca31fc7b4dfa02e9c25d3c8f032523c3b96 Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Wed, 18 Oct 2006 20:09:39 +0000 Subject: [PATCH] eb133b.C: Add XFAILed error for 'using namespace std' without previous declaration. * g++.old-deja/g++.robertl/eb133b.C: Add XFAILed error for 'using namespace std' without previous declaration. * g++.old-deja/g++.robertl/eb133.C: Remove, exact dup of eb133b.C. * g++.old-deja/g++.robertl/eb133c.C: New. From-SVN: r117862 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/g++.old-deja/g++.robertl/eb133b.C | 4 +--- .../g++.old-deja/g++.robertl/{eb133.C => eb133c.C} | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) rename gcc/testsuite/g++.old-deja/g++.robertl/{eb133.C => eb133c.C} (93%) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5080ad4913ae..40e89cc77bd4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2006-10-18 Geoffrey Keating + + * g++.old-deja/g++.robertl/eb133b.C: Add XFAILed error for + 'using namespace std' without previous declaration. + * g++.old-deja/g++.robertl/eb133.C: Remove, exact dup of eb133b.C. + * g++.old-deja/g++.robertl/eb133c.C: New. + 2006-10-17 Jerry DeLisle PR libgfortran/29277 diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb133b.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb133b.C index 9885031004b9..544544b71c41 100644 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb133b.C +++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb133b.C @@ -3,7 +3,7 @@ // From: Klaus-Georg Adams // Reported against EGCS snaps 98/06/28. -using namespace std; +using namespace std; // { dg-error "" "" { xfail *-*-* } } int main() { @@ -14,5 +14,3 @@ int main() } return 0; } - - diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb133.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb133c.C similarity index 93% rename from gcc/testsuite/g++.old-deja/g++.robertl/eb133.C rename to gcc/testsuite/g++.old-deja/g++.robertl/eb133c.C index 419a36efd4be..86acdc6bf026 100644 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb133.C +++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb133c.C @@ -3,6 +3,7 @@ // From: Klaus-Georg Adams // Reported against EGCS snaps 98/06/28. +namespace std { } using namespace std; int main() @@ -14,4 +15,3 @@ int main() } return 0; } -