1 2 3 4 5 6 7 8 9 10
// PR c++/84445 // { dg-do compile } struct A { virtual void foo (); }; void bar (A *p) { __builtin_launder (p)->foo (); }