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
6203d49b0e
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
;
}