gecko-dev/tools/clang-tidy/test/bugprone-suspicious-string-...

9 строки
141 B
C++

static const char A[] = "abc";
int strcmp(const char *, const char *);
int test_warning_patterns() {
if (strcmp(A, "a"))
return 0;
}