Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
ice9545.d
blob: 846975afd3bcc8734f11b6f69b6934338be77e93 [
file
] [
log
] [
blame
]
// REQUIRED_ARGS: -o-
/*
TEST_OUTPUT:
----
fail_compilation/ice9545.d(13): Error: type int has no value
----
*/
struct
S
{
template
T
(
X
)
{
alias
T
=
X
;
}
}
void
main
()
{
auto
x1
=
S
.
init
.
T
!
int
;
// ICE
}