Inlined test case to make it independent of the stmt_exprs test case in test/Sema.
llvm-svn: 44416
This commit is contained in:
parent
246b7b2dbf
commit
5d169cf285
|
@ -1,2 +1,12 @@
|
||||||
// RUN: clang %s --test-pickling 2>&1 | grep -q 'SUCCESS'
|
// RUN: clang %s --test-pickling 2>&1 | grep -q 'SUCCESS'
|
||||||
#include "../Sema/stmt_exprs.c"
|
|
||||||
|
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));
|
||||||
|
}
|
Loading…
Reference in New Issue