Inlined test case to make it independent of the stmt_exprs test case in test/Sema.

llvm-svn: 44416
This commit is contained in:
Ted Kremenek 2007-11-28 21:29:54 +00:00
parent 246b7b2dbf
commit 5d169cf285
1 changed files with 11 additions and 1 deletions

View File

@ -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));
}