Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
6e2cf8c4d740c44b1908ac2a8cfae206b6a2bf63
/
.
/
test
/
SemaCXX
/
no-implicit-builtin-decls.cpp
blob: bd11f92f7e6295692324efc49dc6a50d5a812601 [
file
] [
log
] [
blame
]
// RUN: clang-cc -fsyntax-only -verify %s
void
f
()
{
void
*
p
=
malloc
(
sizeof
(
int
)
*
10
);
// expected-error{{no matching function for call to 'malloc'}}
}
int
malloc
(
double
);