summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/error35.C
blob: d52e599315e2155d3a36ca755de83e0cab5768e5 (plain)
1
2
3
// PR c++/33494

template<int> void foo(int(*f=0)()); // { dg-error "declared void|scope|erroneous-expression" }