forked from OSchip/llvm-project
The test I cnecked in to check the fix for PR#24890 failed (as expected) w/o the fix, but for the wrong reason. Now it fails for the right reason.
llvm-svn: 248307
This commit is contained in:
parent
da817b6186
commit
e8fe34d4d1
|
@ -20,6 +20,7 @@ struct S {
|
|||
int i;
|
||||
S() : i(0) {}
|
||||
S(int j) : i(j) {}
|
||||
S * operator& () { assert(false); return this; }
|
||||
S const * operator& () const { assert(false); return this; }
|
||||
bool operator==(int x) const { return i == x; }
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue