blob: c2bbe4d59e4d99b25d779621297a206d0494fcbd [file] [log] [blame]
// https://issues.dlang.org/show_bug.cgi?id=21091
/*
TEST_OUTPUT:
----
fail_compilation/fail21091a.d(16): Error: unable to read module `Ternary`
fail_compilation/fail21091a.d(16): Expected 'Ternary.d' or 'Ternary/package.d' in one of the following import paths:
import path[0] = fail_compilation
import path[1] = $p:druntime/import$
import path[2] = $p:phobos$
----
*/
struct NullAllocator
{
import Ternary;
Ternary owns() { }
}