Commit c4c7fca3 by Geoffrey Keating Committed by Geoffrey Keating

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
parent 2174b867
2006-10-18 Geoffrey Keating <geoffk@apple.com>
* 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 <jvdelisle@gcc.gnu.org> 2006-10-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/29277 PR libgfortran/29277
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// From: Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de> // From: Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
// Reported against EGCS snaps 98/06/28. // Reported against EGCS snaps 98/06/28.
using namespace std; using namespace std; // { dg-error "" "" { xfail *-*-* } }
int main() int main()
{ {
...@@ -14,5 +14,3 @@ int main() ...@@ -14,5 +14,3 @@ int main()
} }
return 0; return 0;
} }
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// From: Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de> // From: Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
// Reported against EGCS snaps 98/06/28. // Reported against EGCS snaps 98/06/28.
namespace std { }
using namespace std; using namespace std;
int main() int main()
...@@ -14,4 +15,3 @@ int main() ...@@ -14,4 +15,3 @@ int main()
} }
return 0; return 0;
} }
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