blob: cb4a9a33afddbc120d4e7e3035c76352ee8f3073 [file] [log] [blame]
Chris Lattner4b009652007-07-25 00:24:17 +00001// RUN: clang %s -fsyntax-only
2
3void test1(int n, int* p) { *(n ? p : (void *)(7-7)) = 1; }
4void test2(int n, int* p) { *(n ? p : (void *)0) = 1; }
5