We are checking that two identical, constant values, are stored at different addresses. But sharing a unique location doesn't look like something the compiler wouldn't do. It may make more sense to check that a const variable and a mutable variable set to the same value have different addresses.
29 KiB
29 KiB