summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/using21.C
blob: 3db97b4b4afec882f07744fb9b837a47f62f2c62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/40799

namespace Bar {
  typedef int A;
}
class CollectionDeleteGuard {
public:
  CollectionDeleteGuard(int);
};
CollectionDeleteGuard::CollectionDeleteGuard(int)
{
  using Bar::A;
}