summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash60.C
blob: c579775917ed6146b5fa004143101e6b3db27072 (plain)
1
2
3
4
5
6
7
8
9
//PR c++/27961

struct A
{
    template<int> void foo(X);  // { dg-error "declared" }
};

template<int> void f()(0);      // { dg-error "initialize" }