aboutsummaryrefslogtreecommitdiff
path: root/test/FrontendC/2003-11-08-PointerSubNotGetelementptr.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-07-26 23:49:39 +0000
committerEric Christopher <echristo@apple.com>2011-07-26 23:49:39 +0000
commite927dc654f4d9529bd13783680636cb0db0eb852 (patch)
tree3cabfda420d2a0dc0abe391ac0f3700b3ef5451e /test/FrontendC/2003-11-08-PointerSubNotGetelementptr.c
parent00005782fa860f4b48b3b5261d92541c61ee2495 (diff)
Remove test/FrontendC, almost all of the tests have been migrated
to clang now, the rest are in process (6) or have been deleted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC/2003-11-08-PointerSubNotGetelementptr.c')
-rw-r--r--test/FrontendC/2003-11-08-PointerSubNotGetelementptr.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/FrontendC/2003-11-08-PointerSubNotGetelementptr.c b/test/FrontendC/2003-11-08-PointerSubNotGetelementptr.c
deleted file mode 100644
index 58f9f82e15..0000000000
--- a/test/FrontendC/2003-11-08-PointerSubNotGetelementptr.c
+++ /dev/null
@@ -1,9 +0,0 @@
-// RUN: %llvmgcc -xc %s -S -o - | grep getelementptr
-
-char *test(char* C) {
- return C-1; // Should turn into a GEP
-}
-
-int *test2(int* I) {
- return I-1;
-}