summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/using13.C
blob: c102fdcf8724b37f36f30c81276c2fb369443be3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do compile }

// Origin: Stefan Stra�er <sstrasser@systemhaus-gruppe.de>

// PR c++/20240: 

namespace A { int a; }

namespace C{
  int a;
  using A::a;		// { dg-error "already declared" }
}