llvm-project/clang/test/Analysis/exercise-ps.c

11 lines
194 B
C
Raw Normal View History

// RUN: clang -analyze -checker-simple -verify %s
//
// Just exercise the analyzer (no assertions).
static const char * f1(const char *x, char *y) {
while (*x != 0) {
*y++ = *x++;
}
}