summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/error39.C
blob: 49faa3654cb592df2f47b292ea92110133f82897 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/14912

template <class T, int N=0, int X=1>
struct A
{
};

void foo(void)
{
  A<void> a = 0;		// { dg-error "A<void>" }
}