forked from OSchip/llvm-project
11 lines
185 B
C
11 lines
185 B
C
|
// RUN: clang -checker-simple -verify %s
|
||
|
//
|
||
|
// Just exercise the analyzer (no assertions).
|
||
|
|
||
|
|
||
|
static const char * f1(const char *x, char *y) {
|
||
|
while (*x != 0) {
|
||
|
*y++ = *x++;
|
||
|
}
|
||
|
}
|