aboutsummaryrefslogtreecommitdiff
path: root/test/C++Frontend/pointer_member.cpp
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_member.cpp
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_member.cpp')
-rw-r--r--test/C++Frontend/pointer_member.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/C++Frontend/pointer_member.cpp b/test/C++Frontend/pointer_member.cpp
deleted file mode 100644
index 46ad7c3a1f..0000000000
--- a/test/C++Frontend/pointer_member.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <stdio.h>
-
-struct B { int i, j; };
-struct D : public B {};
-int D::*di = &D::i;
-int D::*dj = &D::j;
-
-int main() {
- D d;
- d.i = d.j = 0;
- d.*di = 4;
- d.*dj = 7;
-
- printf("%d %d\n", d.i, d.j);
-
- return 0;
-}