Commit d2bed7f0 authored by Stefan Behnel's avatar Stefan Behnel

Fix initialiser in C++ test: MSVC++ cannot assign statically to non-static members.

parent ed7a5bb6
......@@ -84,10 +84,12 @@ NONMEMBER_BIN_OP2(COMMA)
#define REF_BIN_OP(op) int& operator op (int x) { x++; return value; }
class RefTestOps {
int value = 0;
int value;
public:
RefTestOps() { value = 0; }
REF_UN_OP(-);
REF_UN_OP(+);
REF_UN_OP(*);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment