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 47871363d, druntime, c52e28b7, phobos 99e9c1b77.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test18584.d
blob
2007c831aa2753252916e8131469359ab4943c66
1
// https://issues.dlang.org/show_bug.cgi?id=18584
2
3
struct
S
{
4
int
n
;
5
auto
fun
() {
return
tmp
!(
a
=>
n
)(); }
6
}
7
8
struct
tmp
(
alias
fns
) {
9
alias
fun
=
fns
!
int
;
10
}