Skip to content

Commit

Permalink
Remove a /clr workaround in test code (#4340)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanTLavavej authored Jan 25, 2024
1 parent 4aad4b8 commit fef3c3d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/std/tests/Dev11_0535636_functional_overhaul/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1063,13 +1063,11 @@ constexpr bool test_invoke_constexpr() {
#endif // _HAS_CXX20
assert(&invoke(&Thing::m_x, p) == &p->m_x);

#ifndef _M_CEE // TRANSITION, DevCom-939490
assert(invoke(&Thing::sum, *p, 3) == 1023);
#if _HAS_CXX20
assert(invoke(&Thing::sum, ref(*p), 4) == 1024);
#endif // _HAS_CXX20
assert(invoke(&Thing::sum, p, 5) == 1025);
#endif // _M_CEE

assert(invoke(square_constexpr, 6) == 36);
assert(invoke(&cube_constexpr, 7) == 343);
Expand Down

0 comments on commit fef3c3d

Please sign in to comment.