Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
launder8.C
blob: f57e91b60cddcbba8dda8504b2163dba664122ad [
file
] [
log
] [
blame
]
// PR c++/84444
// { dg-do compile }
// { dg-options "-O2" }
struct
A
{};
__UINTPTR_TYPE__
foo
(
A
*
p
)
{
return
(
__UINTPTR_TYPE__
)
__builtin_launder
(
p
);
}