Commit 96dafad6 by Nathanael Nerode

* g++.dg/parse/namespace4.C: New test.

From-SVN: r60832
parent a25a292f
2003-01-03 Nathanael Nerode <neroden@gcc.gnu.org> 2003-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
* g++.dg/parse/namespace4.C: New test.
* g++.dg/template/nested1.C: New test. * g++.dg/template/nested1.C: New test.
* g++.dg/parse/namespace3.C: New test. * g++.dg/parse/namespace3.C: New test.
......
/* PR c++/4652 */
/* { dg-do compile } */
/* Another conflict between namespace IDs and other things. */
namespace A { };
class B {
struct {
int x;
} A;
};
int main() {
B b;
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