1 // { dg-do run { target c++11 } }
2 // { dg-additional-options "-O2" }
3 // { dg-additional-sources "launder6.cc" }
4 // { dg-skip-if "requires hosted libstdc++ for cassert" { ! hostedlib } }
14 return __builtin_launder (p);
24 assert(std::launder(&b.a)->x == 666);