gcc/testsuite/gdc.test/fail_compilation/fail237.d
raw| 1 | /* |
| 2 | TEST_OUTPUT: |
| 3 | --- |
| 4 | fail_compilation/fail237.d(11): Error: undefined identifier `a` in module `fail237` |
| 5 | fail_compilation/fail237.d(11): while evaluating: `static assert(module fail237.a!().b)` |
| 6 | --- |
| 7 | */ |
| 8 | |
| 9 | // https://issues.dlang.org/show_bug.cgi?id=581 |
| 10 | // Error message w/o line number in dot-instantiated template |
| 11 | static assert(.a!().b); |