OSDN Git Service

PR middle-end/19984
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / builtin-bswap-1.c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target stdint_types } */
3 /* { dg-options "" } */
4 /* { dg-final { scan-assembler-not "__builtin_" } } */
5
6 #include <stdint.h>
7
8 uint32_t foo (uint32_t a)
9 {
10   int b;
11
12   b = __builtin_bswap32 (a);
13
14   return b;
15 }