1 /* 2 TEST_OUTPUT: 3 --- 4 fail_compilation/fail7173.d(23): Error: expression `b1._a.opBinary(b2._a).fun()` is `void` and has no value 5 --- 6 */ 7 struct A{ 8 opBinaryA9 A opBinary(string op)(A a){ A rt; return rt; } 10 funA11 void fun(){ } 12 } 13 14 struct B{ 15 16 A _a; 17 alias _a this; 18 } 19 20 main()21void main(){ 22 23 B b1, b2, b3; b3 = (b1 - b2).fun(); 24 } 25