Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
f94e215e4a67e5439d56a67bbe470c7860d4b9a6
/
.
/
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
);