diff options
Diffstat (limited to 'clang/test/Sema/const-ptr-int-ptr-cast.c')
-rw-r--r-- | clang/test/Sema/const-ptr-int-ptr-cast.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Sema/const-ptr-int-ptr-cast.c b/clang/test/Sema/const-ptr-int-ptr-cast.c new file mode 100644 index 0000000..8beaf9d --- /dev/null +++ b/clang/test/Sema/const-ptr-int-ptr-cast.c @@ -0,0 +1,5 @@ +// RUN: %clang_cc1 -fsyntax-only -verify -ffreestanding %s + +#include <stdint.h> + +char *a = (void*)(uintptr_t)(void*)&a; |