aboutsummaryrefslogtreecommitdiff
path: root/test/C++Frontend/pointer_arithmetic.c
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-09-26 14:58:39 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-09-26 14:58:39 +0000
commit91d66aa243c7075e05c06c9382b505c3293769e4 (patch)
treeced6efff9c2d0012708d96a2a69bd62798c3a2d7 /test/C++Frontend/pointer_arithmetic.c
parent67181ca7f67cd2959ee5d1d583d8b7e179f44d96 (diff)
Removing these tests from the regressions directory.
They now live in llvm/test/Programs/SingleSource/Regression alongside their UnitTest brethren. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8722 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/C++Frontend/pointer_arithmetic.c')
-rw-r--r--test/C++Frontend/pointer_arithmetic.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/C++Frontend/pointer_arithmetic.c b/test/C++Frontend/pointer_arithmetic.c
deleted file mode 100644
index 5fedd85e00..0000000000
--- a/test/C++Frontend/pointer_arithmetic.c
+++ /dev/null
@@ -1,21 +0,0 @@
-typedef struct {
- int w;
-// float x;
-// double y;
-// long long z;
-} S1Ty;
-
-typedef struct {
- S1Ty A, B;
-} S2Ty;
-
-void takeS1(S1Ty *V) {}
-void takeVoid(void *P) {}
-
-int main() {
- S2Ty E;
- takeS1(&E.B);
- takeVoid(&E);
- return 0;
-}
-