Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
7c80bd64032e610c0dbd74fc0ef6ea334447f2fd
/
.
/
test
/
SemaCXX
/
no-implicit-builtin-decls.cpp
blob: 8a0df9403a0e09d28b5b454822b37327f3ac0a8c [
file
] [
log
] [
blame
]
Douglas Gregor
0f4330c
2009-02-14 00:37:42 +0000
[
diff
] [
blame
]
1
// RUN: clang -fsyntax-only -verify %s
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
);