summaryrefslogtreecommitdiffstats
path: root/clang/test/Serialization/stmt_exprs.c
blob: 9bb3d7372898b7c8a2e8135ae522d1c82551b17b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// XFAIL
// RUN: false
// clang %s --test-pickling 2>&1 | grep -q 'SUCCESS'
typedef unsigned __uint32_t;

#define __byte_swap_int_var(x) \
__extension__ ({ register __uint32_t __X = (x); \
   __asm ("bswap %0" : "+r" (__X)); \
   __X; })

int test(int _x) {
 return (__byte_swap_int_var(_x));
}
OpenPOWER on IntegriCloud