Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
ice12534.d
blob: 6820f394a754cf104c05be02b14548087993ed3d [
file
] [
log
] [
blame
]
/*
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
]));
}