diff options
Diffstat (limited to 'gcc/testsuite/gdc.test/fail_compilation/fail22121.d')
-rw-r--r-- | gcc/testsuite/gdc.test/fail_compilation/fail22121.d | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gdc.test/fail_compilation/fail22121.d b/gcc/testsuite/gdc.test/fail_compilation/fail22121.d new file mode 100644 index 00000000000..f45cf12e061 --- /dev/null +++ b/gcc/testsuite/gdc.test/fail_compilation/fail22121.d @@ -0,0 +1,11 @@ +// https://issues.dlang.org/show_bug.cgi?id=22121 +// EXTRA_FILES: fail22121/imports/test22121/package.d +/* +TEST_OUTPUT: +--- +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 +--- +*/ + +module fail22121; +import fail22121.imports.test22121; |