c++: hash table ICE with variadic alias [PR105003]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-95307.C
blobbd3c6a8f91f1293ead1dc338b178fea7a0fcee3e
1 // PR c++/95307
2 // { dg-do compile { target c++11 } }
4 int v;
5 constexpr auto p{reinterpret_cast<__UINTPTR_TYPE__>(&v) - 1u};  // { dg-error "conversion from pointer type" }