Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail7234.d
blob: eb5ec7a590def94469b2d1a2452ba97d459bb6e0 [
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
)
{}
}