blob: 47f302d5b4b08f475e9911225ffa0a05e5bbf7d0 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail235.d(12): Error: expression `typeid(char)` is not a valid template value argument
---
*/
template Tuple(TPL...)
{
alias TPL Tuple;
}
auto K = Tuple!(typeid(char));
/*
TEST_OUTPUT:
---
fail_compilation/fail235.d(24): Error: expression `typeid(char)` is not a valid template value argument
---
*/
template Alias(alias A)
{
alias A Alias;
}
auto A = Alias!(typeid(char));