| Ted Kremenek | e866a7c | 2008-04-30 04:40:48 +0000 | [diff] [blame] | 1 | // RUN: clang -checker-simple -verify %s |
| 2 | // | ||||
| 3 | // Just exercise the analyzer (no assertions). | ||||
| 4 | |||||
| 5 | |||||
| 6 | static const char * f1(const char *x, char *y) { | ||||
| 7 | while (*x != 0) { | ||||
| 8 | *y++ = *x++; | ||||
| 9 | } | ||||
| 10 | } | ||||