Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
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
}