Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
diag9880.d
blob: 9d893b8d5de20ea97f3101230c1fd93030db0957 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/diag9880.d(9): Error: template instance diag9880.foo!string does not match template declaration foo(T)(int) if (is(T == int))
---
*/
void
foo
(
T
)(
int
)
if
(
is
(
T
==
int
))
{}
void
main
()
{
alias
f
=
foo
!
string
;
}