blob: 8a0df9403a0e09d28b5b454822b37327f3ac0a8c [file] [log] [blame]
// RUN: clang -fsyntax-only -verify %s
void f() {
void *p = malloc(sizeof(int) * 10); // expected-error{{no matching function for call to 'malloc'}}
}
int malloc(double);