1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail347.d(21): Error: undefined identifier `bbr`, did you mean variable `bar`?
5 fail_compilation/fail347.d(22): Error: no property 'ofo' for type 'S', did you mean 'fail347.S.foo'?
6 fail_compilation/fail347.d(23): Error: undefined identifier `strlenx`, did you mean function `strlen`?
7 ---
8 */
9 
10 //import core.stdc.string;
11 import imports.fail347a;
12 
13 struct S
14 {
15     int foo;
16 }
17 
main()18 void main()
19 {
20     S bar;
21     bbr.foo = 3;
22     bar.ofo = 4;
23     auto s = strlenx("hello");
24 }
25