[ELF] Avoid make in elf::writeARMCmseImportLib
[llvm-project.git] / clang / test / Analysis / redefined_system.c
blob0998fb92d2cd2ae8f19b5363fc3c767cd1769d08
1 // RUN: %clang_analyze_cc1 -analyzer-checker=osx,unix,core,optin.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();