summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/namespace3.C
blob: 4665d0e9e5e76baa0689e162353953b050890dbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR c+/3816 */
/* { dg-do compile } */
namespace A {}
 
namespace OtherNamespace {
 
  typedef struct {
     int member;
   } A; // used to conflict with A namespace
 
} // end of namespace