blob: 75d4e067fc6d52d57a0e86ae974eceacb41bb0ae [file] [log] [blame]
Daniel Dunbarae3c16c2008-10-04 20:46:41 +00001// RUN: rm -rf %t &&
2// RUN: clang --html-diags=%t -checker-simple %s
3
4void f0(int x) {
5 int *p = &x;
6
7 if (x > 10) {
8 if (x == 22)
9 p = 0;
10 }
11
12 *p = 10;
13}
14
15