blob: 89d7ecfddb62b76693114f83bfcdb6955695c1e8 [file] [log] [blame]
// PR c++/95963
// { dg-do compile }
// { dg-options "-Wnonnull" }
struct A { virtual void foo (); };
void
bar (A *p)
{
__builtin_launder (p)->foo ();
}