struct T{ @property int value() { return 0; }} void main(){ T t; int* p = &t.value(); // error}
Standard input is empty
prog.d(11): Error: t.value() is not an lvalue
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!