Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
launder9.C
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
();
}