#include <cstdio>
#include <type_traits>
int main()
{
int *p1;
int const *p2;
std::printf("%s\n",
std::is_same<decltype(p1), decltype(p2)>::value ? "the same" : "not the same"
);
}
I2luY2x1ZGUgPGNzdGRpbz4KI2luY2x1ZGUgPHR5cGVfdHJhaXRzPgoKCmludCBtYWluKCkKewoJaW50ICpwMTsKCWludCBjb25zdCAqcDI7CgkKCXN0ZDo6cHJpbnRmKCIlc1xuIiwKCQlzdGQ6OmlzX3NhbWU8ZGVjbHR5cGUocDEpLCBkZWNsdHlwZShwMik+Ojp2YWx1ZSA/ICJ0aGUgc2FtZSIgOiAibm90IHRoZSBzYW1lIgoJKTsKfQ==