aboutsummaryrefslogtreecommitdiffstats
path: root/test/C++Frontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-12 23:22:51 +0000
committerChris Lattner <sabre@nondot.org>2003-05-12 23:22:51 +0000
commit084e8074a4aac144d78e822fe3eb04fb22a52144 (patch)
tree08f2d9dde45ec7d2507de7eb46739e0fbde293f7 /test/C++Frontend
parenta3c58f1c060bb97371ad06bf10c4836845e0f5a3 (diff)
downloadexternal_llvm-084e8074a4aac144d78e822fe3eb04fb22a52144.zip
external_llvm-084e8074a4aac144d78e822fe3eb04fb22a52144.tar.gz
external_llvm-084e8074a4aac144d78e822fe3eb04fb22a52144.tar.bz2
Add first C++ test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6161 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/C++Frontend')
-rw-r--r--test/C++Frontend/pointer_member.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/C++Frontend/pointer_member.cpp b/test/C++Frontend/pointer_member.cpp
new file mode 100644
index 0000000..750e692
--- /dev/null
+++ b/test/C++Frontend/pointer_member.cpp
@@ -0,0 +1,4 @@
+struct B { int i; };
+struct D : public B {};
+int D::*dp = &D::i;
+