1 // RUN: %clang_analyze_cc1 -analyzer-checker=core,security.cert.env.InvalidPtr -verify %s 2 3 // expected-no-diagnostics 4 5 namespace other { 6 int strerror(int errnum); // custom strerror no_crash_on_custom_strerror()7void no_crash_on_custom_strerror() { 8 (void)strerror(0); // no-crash 9 } 10 } // namespace other 11