1 /* { dg-do compile } */
2 /* { dg-require-effective-target stdint_types } */
3 /* { dg-options "" } */
4 /* { dg-final { scan-assembler-not "__builtin_" } } */
8 uint16_t foo16 (uint16_t a
)
12 b
= __builtin_bswap16 (a
);
17 uint32_t foo32 (uint32_t a
)
21 b
= __builtin_bswap32 (a
);
26 uint64_t foo64 (uint64_t a
)
30 b
= __builtin_bswap64 (a
);