parent
a25a292fa7
commit
96dafad6fc
|
@ -1,5 +1,7 @@
|
|||
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/parse/namespace3.C: New test.
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
/* 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;
|
||||
}
|
Loading…
Reference in New Issue