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