repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
no-implicit-builtin-decls.cpp
blob
d82f7f18bffe0fed2736ed0b3e884f036d7a3119
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
void
f
() {
4
void
*
p
=
malloc
(
sizeof
(
int
) *
10
);
// expected-error{{use of undeclared identifier 'malloc'}}
5
}
6
7
int
malloc
(
double
);