summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/alias-decl-11.C
blob: 54574337b20354774317461a1911551c34d47b1f (plain)
1
2
3
4
5
6
7
8
// { dg-do compile { target c++11 } }

namespace N
{
  template <class T> using U = T*;
}

void f(N::U<int>) { blah; } // { dg-error "void f(N::U<int>)|not declared" }