blob: 0b8c0f9f28df7b6cb78837a58058618f1a83464c [file] [log] [blame]
// RUN: %clang_analyze_cc1 -w -analyzer-checker=core,unix.Malloc -verify %s
// expected-no-diagnostics
// Test that strange prototypes doesn't crash the analyzer
void malloc(int i);
void valloc(int i);
void test1()
{
malloc(1);
}
void test2()
{
valloc(1);
}