1 // I hate this type of test case. I'm not sure how to code it better.
2 // See the PR for what this tests.
4 // execution test fails *-*-*
10 static const A* match_this;
11 static const A* match_arg;
14 if (match_this != this)
17 A* get_this() { return this; }
18 A& operator = (const A& o) {
20 if (match_this != this)
29 const A* A::match_this;
30 const A* A::match_arg;
45 A::match_this = A().get_this();