summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/using15.C
blob: b5ca3a876f0e1ad94fbd8c96093131ac4ee49183 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/27933
// { dg-do compile }

template<int> struct A
{
  int i;
  A() { using i; }  // { dg-error "nested-name-specifier|declared" }
};

A<0> a;