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 26f049fb26, phobos 330d6a4fd.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test21282.d
blob
276591f6b0702d1b7a37a43a8287023123287bef
1
/*
2
TEST_OUTPUT:
3
---
4
AliasSeq!(func)
5
---
6
*/
7
// https://issues.dlang.org/show_bug.cgi?id=21282
8
9
template
I
(
T
...) {
alias
I
=
T
; }
10
11
template
Bug
(
T
...) {
12
alias
Bug
=
mixin
(
"I!(T[0])"
);
13
}
14
void
func
() {}
15
pragma
(
msg
,
Bug
!
func
);