blob: e75a1c1326c4679f643c52ed12c3f18f52882c6a [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail325.d(12): Error: template fun(T = int)(int w, int z) has no type
---
*/
void fun(T = int)(int w, int z) {}
void main()
{
auto x = cast(void function(int, int))fun;
}