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