gcc/testsuite/gdc.test/fail_compilation/fail22121.d
raw| 1 | // https://issues.dlang.org/show_bug.cgi?id=22121 |
| 2 | // EXTRA_FILES: fail22121/imports/test22121/package.d |
| 3 | /* |
| 4 | TEST_OUTPUT: |
| 5 | --- |
| 6 | fail_compilation/fail22121/imports/test22121/package.d(1): Error: package name 'fail22121' conflicts with usage as a module name in file fail_compilation/fail22121.d |
| 7 | --- |
| 8 | */ |
| 9 | |
| 10 | module fail22121; |
| 11 | import fail22121.imports.test22121; |