Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
570585c91dee98d7ba8ccf1198c03208ba17966b
/
.
/
test
/
SemaCXX
/
no-implicit-builtin-decls.cpp
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
);