Author
anonymous
over 7 years ago
$
prog.cc:5:19: error: non-const lvalue reference to type 'X' cannot bind to a temporary of type 'X' X& bar() { return foo(); } ^~~~~ 1 error generated.