summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ns/ns4.C
blob: c2b8feebbabb81ae96cb466e89466c260bdc8c6a (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }
namespace A{
  enum foo{a,b,c};
}
using A::foo;
using A::b;
void g()
{
  foo x;
  x=b;
}