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

// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>

// PR c++/9022, nested namespace in using declaration

namespace gnu {
  namespace gcc {
  }
}
using gnu::gcc;		// { dg-error "namespace" }