| 1 |
/* |
| 2 |
TEST_OUTPUT: |
| 3 |
--- |
| 4 |
fail_compilation/ice12534.d(14): Error: static assert: `is(exprs[0 .. 0])` is false |
| 5 |
--- |
| 6 |
*/ |
| 7 |
|
| 8 |
alias TypeTuple(T...) = T; |
| 9 |
|
| 10 |
void main() |
| 11 |
{ |
| 12 |
int x, y; |
| 13 |
alias exprs = TypeTuple!(x, y); |
| 14 |
static assert(is(exprs[0..0])); |
| 15 |
} |