summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/g++.dg/parse/namespace5.C
blob: 277c0c8e66e297f5b0247ae1117eff15c38bfc8f (plain)
1
2
3
4
5
// PR c++/7229
// { dg-do compile }

namespace A { namespace B { typedef int type; } }
typename A::B<0>::type x; // { dg-error "" }
OpenPOWER on IntegriCloud