2 // Origin: Mark Mitchell <mark@codesourcery.com>
4 static int strlen (const char*) { return 0; }
6 template <int (*)(const char*)>
9 // Check that the strlen declaration here is given internal linkage by
10 // using it as a non-type template argument, and expecting an error.
11 template void f<strlen>(); // { dg-error "" "" { target c++98 } } no matching template