llvm-for-llvmta/tools/clang/test/Sema/const-ptr-int-ptr-cast.c

7 lines
147 B
C

// RUN: %clang_cc1 -fsyntax-only -verify -ffreestanding %s
// expected-no-diagnostics
#include <stdint.h>
char *a = (void*)(uintptr_t)(void*)&a;