Add ~const bound test for negative impls
#92997
Merged
~const bound test for negative impls
#92997