blob: e418329f9313967c324e8f30d0ed9e45be7f96c1 [file] [log] [blame]
// PR c++/84445
// { dg-do compile }
struct A { virtual void foo (); };
void
bar (A *p)
{
__builtin_launder (p)->foo ();
}