1 /* TEST_OUTPUT: 2 --- 3 fail_compilation/fail17275.d(12): Error: undefined identifier `ModuleGroup`, did you mean function `moduleGroup`? 4 fail_compilation/fail17275.d(12): Error: inout on return means inout must be on a parameter as well for inout(ModuleGroup)() 5 --- 6 */ 7 8 // https://issues.dlang.org/show_bug.cgi?id=17275 9 10 struct DSO 11 { moduleGroupDSO12 inout(ModuleGroup) moduleGroup() { } 13 } 14 15 struct ThreadDSO 16 { 17 DSO* _pdso; 18 void[] _tlsRange; 19 } 20 21