forked from OSchip/llvm-project
6 lines
149 B
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; }
|
||
|
|