rt_gccstream/gcc/testsuite/g++.dg/parse/namespace4.C

19 lines
208 B
C

/* 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;
}