Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
builtin-bswap1.C
blob: 787ecba43ad9cd5804def14458be85b33a8e015f [
file
] [
log
] [
blame
]
// PR c/37743
// { dg-do compile }
#if defined(__UINT32_TYPE__) && defined(__INT32_TYPE__)
void
foo
(
__UINT32_TYPE__
);
void
foo
(
__INT32_TYPE__
);
void
bar
(
__UINT32_TYPE__ x
)
{
foo
(
__builtin_bswap32
(
x
));
}
#else
void
bar
()
{
}
#endif