Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/fail21091a.d

raw
1 // https://issues.dlang.org/show_bug.cgi?id=21091
2
3 /*
4 TEST_OUTPUT:
5 ----
6 fail_compilation/fail21091a.d(16): Error: unable to read module `Ternary`
7 fail_compilation/fail21091a.d(16): Expected 'Ternary.d' or 'Ternary/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 struct NullAllocator
15 {
16 import Ternary;
17 Ternary owns() { }
18 }