blob: ee9ff5b7aacf6ddeb16dbb81a310eebf29b6b95c [file] [log] [blame]
// { dg-do assemble }
// Based on bug report by Simon A. Crase <s.crase@ieee.org>
struct foo {
template <class T> void bar(); // { dg-error { "explicit instantiation refers here" }
};
template void foo::bar<void>(); // { dg-error "explicit instantiation of undefined function template 'bar'" }