| 1 |
// https://issues.dlang.org/show_bug.cgi?id=20565 |
| 2 |
|
| 3 |
void main() |
| 4 |
{ |
| 5 |
{ |
| 6 |
int temp(T)() { return 3; } |
| 7 |
assert(temp!int() == 3); |
| 8 |
} |
| 9 |
{ |
| 10 |
int temp(T)() { return 4; } |
| 11 |
assert(temp!int() == 4); |
| 12 |
} |
| 13 |
{ |
| 14 |
int temp(T)() { return 5; } |
| 15 |
assert(temp!int() == 5); |
| 16 |
} |
| 17 |
} |