Hello. The following code: ref int foo(ref int x) { return x ; } void main () { foo(3) ; } produces the error message: "function rvalue_argument.foo (ref int x) is not callable using argument types (int)" It would be more meaningful if this could be clarified on the lines of: "argument ref int x of function rvalue_argument.foo cannot bind to an rvalue"
*** This issue has been marked as a duplicate of issue 11529 ***