gcc/testsuite/gdc.test/fail_compilation/fail21091b.d
raw| 1 | // https://issues.dlang.org/show_bug.cgi?id=21091 |
| 2 | |
| 3 | /* |
| 4 | TEST_OUTPUT: |
| 5 | ---- |
| 6 | fail_compilation/fail21091b.d(16): Error: unable to read module `Tid` |
| 7 | fail_compilation/fail21091b.d(16): Expected 'Tid.d' or 'Tid/package.d' in one of the following import paths: |
| 8 | import path[0] = fail_compilation |
| 9 | import path[1] = $p:druntime/import$ |
| 10 | import path[2] = $p:phobos$ |
| 11 | ---- |
| 12 | */ |
| 13 | |
| 14 | class Logger |
| 15 | { |
| 16 | import Tid; |
| 17 | Tid threadId; |
| 18 | } |