Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail325.d
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
;
}