Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Douglas Gregor | 0f4330c | 2009-02-14 00:37:42 +0000 | [diff] [blame] | 2 | |
3 | void f() { | ||||
4 | void *p = malloc(sizeof(int) * 10); // expected-error{{no matching function for call to 'malloc'}} | ||||
5 | } | ||||
6 | |||||
7 | int malloc(double); |