Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
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
);
}