Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
launder7.C
blob: e418329f9313967c324e8f30d0ed9e45be7f96c1 [
file
] [
log
] [
blame
]
// PR c++/84445
// { dg-do compile }
struct
A
{
virtual
void
foo
();
};
void
bar
(
A
*
p
)
{
__builtin_launder
(
p
)->
foo
();
}