hanchenye-llvm-project/clang/test/Sema/i-c-e1.c

6 lines
149 B
C

// RUN: clang %s -fsyntax-only
void test1(int n, int* p) { *(n ? p : (void *)(7-7)) = 1; }
void test2(int n, int* p) { *(n ? p : (void *)0) = 1; }