repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
ice12534.d
blob
da9c021f13840100ac351fa5608d65822b71a8da
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
}