| 1 |
// https://issues.dlang.org/show_bug.cgi?id=20744 |
| 2 |
|
| 3 |
struct A { |
| 4 |
struct S {} |
| 5 |
void f(@S int = 3); |
| 6 |
alias fun = Issue20744!f; |
| 7 |
} |
| 8 |
|
| 9 |
template Issue20744(func...) { |
| 10 |
static if (is(typeof(func[0]) PT == __parameters)) { |
| 11 |
alias Issue20744 = (PT args) {}; |
| 12 |
} |
| 13 |
} |