1// RUN: %clang_cc1 -analyze -analyzer-checker=unix,core,alpha.security.taint -w -verify %s
2// expected-no-diagnostics
3
4// Make sure we don't crash when someone redefines a system function we reason about.
5
6char memmove ();
7char malloc();
8char system();
9char stdin();
10char memccpy();
11char free();
12char strdup();
13char atoi();
14
15int foo () {
16  return memmove() + malloc() + system() + stdin() + memccpy() + free() + strdup() + atoi();
17
18}
19