This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
40cc0044e7
llvm-project
/
clang
/
test
/
Sema
/
implicit-builtin-freestandi...
5 lines
91 B
C
Raw
Normal View
History
Unescape
Escape
Rename clang to clang-cc. Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
2009-03-24 10:24:46 +08:00
// RUN: clang-cc -fsyntax-only -verify -ffreestanding %s
Add a test case for -ffreestanding that redefines malloc. Warn that complex numbers are an extension in a freestanding C99 implementation. llvm-svn: 64568
2009-02-15 05:06:05 +08:00
int
malloc
(
int
a
)
{
return
a
;
}