[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Analysis / redefined_system.c
blob0a55c36c6dd5b3de21a1cf09f4d5f6f6a98e3c93
1 // RUN: %clang_analyze_cc1 -analyzer-checker=osx,unix,core,alpha.security.taint -w -verify %s
2 // expected-no-diagnostics
4 // Make sure we don't crash when someone redefines a system function we reason about.
6 char memmove (void);
7 char malloc(void);
8 char system(void);
9 char stdin(void);
10 char memccpy(void);
11 char free(void);
12 char strdup(void);
13 char atoi(void);
15 int foo (void) {
16 return memmove() + malloc() + system() + stdin() + memccpy() + free() + strdup() + atoi();