| 1 |
// EXTRA_SOURCES: imports/a12874.d |
| 2 |
// PERMUTE_ARGS: -inline -g -O |
| 3 |
|
| 4 |
import imports.a12874; |
| 5 |
|
| 6 |
void main() |
| 7 |
{ |
| 8 |
try |
| 9 |
{ |
| 10 |
int x; |
| 11 |
foo!(x)(); |
| 12 |
} |
| 13 |
catch (Error e) |
| 14 |
{ |
| 15 |
assert(e.file[$-8..$] == "a12874.d"); |
| 16 |
assert(e.line == 7); |
| 17 |
} |
| 18 |
} |