summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/using6.C
blob: ee8d5be96ec3bfa60fe42c45ae32b29b5c5322fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
namespace foo {
  template<typename T>
  struct A {};
}

namespace bar {
  template<typename T>
  struct A {};
}

namespace foo {
  using bar::A; // { dg-error "" }
}