aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/typename11.C
blob: fb776105f436977add362f6ea0fa782bae5eb7fa (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/28999

namespace N
{
  template<int> void foo();
}

template<int> struct A
{
  friend void typename N::foo<0>(); // { dg-error "type|expected" }
};