mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
15 lines
243 B
D
15 lines
243 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/ice12534.d(14): Error: static assert: `is(exprs[0 .. 0])` is false
|
|
---
|
|
*/
|
|
|
|
alias TypeTuple(T...) = T;
|
|
|
|
void main()
|
|
{
|
|
int x, y;
|
|
alias exprs = TypeTuple!(x, y);
|
|
static assert(is(exprs[0..0]));
|
|
}
|