summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash91.C
blob: 39575cd9f272d817951b0361bd5d93b2bacb70db (plain)
1
2
3
4
5
6
7
8
// PR c++/28293

template<int> void foo();

struct A
{
  typedef void foo<0>(); // { dg-error "explicit template argument list not allowed" } 
};