blob: 61718df59e28fb7197a1acb83ad2a861f524b8bc [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail347.d(21): Error: undefined identifier `bbr`, did you mean variable `bar`?
fail_compilation/fail347.d(22): Error: no property 'ofo' for type 'S', did you mean 'fail347.S.foo'?
fail_compilation/fail347.d(23): Error: undefined identifier `strlenx`, did you mean function `strlen`?
---
*/
//import core.stdc.string;
import imports.fail347a;
struct S
{
int foo;
}
void main()
{
S bar;
bbr.foo = 3;
bar.ofo = 4;
auto s = strlenx("hello");
}