Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail7234.d
blob: f38308d7f182066b334855052e8ddbbd027f498a [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail7234.d(14): Error: no property `empty` for type `Contract*`, perhaps `import std.range;` is needed?
---
*/
struct
Contract
{
void
opDispatch
()(){}
}
void
foo
()
{
Contract
*
r
;
if
(
r
.
empty
)
{}
}