This website requires JavaScript.
Explore
Help
Sign In
replica
/
hanchenye-llvm-project
Watch
2
Star
0
Fork
You've already forked hanchenye-llvm-project
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
a8c5d0872d
hanchenye-llvm-project
/
llvm
/
test
/
FrontendC
/
2005-01-02-PointerDifference.c
4 lines
88 B
C
Raw
Normal View
History
Unescape
Escape
Remove explicit uses of -emit-llvm, the test infrastructure adds it automatically. Use -S with llvm-gcc rather than -c, so tests can work when llvm-gcc is really dragonegg (which can output IR with -S but not -c). llvm-svn: 120158
2010-11-26 05:24:35 +08:00
// RUN: %llvmgcc -xc %s -S -o - | grep -v div
Testcase for PR494 llvm-svn: 19258
2005-01-03 05:11:11 +08:00
int
Diff
(
int
*
P
,
int
*
Q
)
{
return
P
-
Q
;
}