From ca0e67529e51afb1508771feee8287a4f25b8964 Mon Sep 17 00:00:00 2001 From: Dimitar Dobrev Date: Tue, 20 Aug 2013 17:18:29 +0300 Subject: [PATCH] Added a compilation test for the class member of a nested type - that is, when &IntPtr code is generated. Signed-off-by: Dimitar Dobrev --- tests/Basic/Basic.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/Basic/Basic.h b/tests/Basic/Basic.h index e7030bc4..bf8c2ebd 100644 --- a/tests/Basic/Basic.h +++ b/tests/Basic/Basic.h @@ -15,6 +15,10 @@ public: class DLL_API Foo2 : public Foo { + struct Copy { + Foo A; + }* copy; + public: int C;