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