diff options
Diffstat (limited to 'gcc/testsuite/gdc.test/fail_compilation/fail21091b.d')
-rw-r--r-- | gcc/testsuite/gdc.test/fail_compilation/fail21091b.d | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/gdc.test/fail_compilation/fail21091b.d b/gcc/testsuite/gdc.test/fail_compilation/fail21091b.d new file mode 100644 index 00000000000..d9467aafdb3 --- /dev/null +++ b/gcc/testsuite/gdc.test/fail_compilation/fail21091b.d @@ -0,0 +1,17 @@ +// https://issues.dlang.org/show_bug.cgi?id=21091 + +/* +TEST_OUTPUT: +---- +fail_compilation/fail21091b.d(15): Error: module `Tid` is in file 'Tid.d' which cannot be read +import path[0] = fail_compilation +import path[1] = $p:druntime/import$ +import path[2] = $p:phobos$ +---- +*/ + +class Logger +{ + import Tid; + Tid threadId; +} |