From 7f2e735905bf149992ef4e98c6fa52a903b6189e Mon Sep 17 00:00:00 2001 From: "SND\\kernelnet_cp" <SND\kernelnet_cp@9b283d60-5439-405e-af05-b73fd8c4d996> Date: Fri, 17 Feb 2012 09:58:48 +0000 Subject: [PATCH] [0.1.x] test: TypeInfoTest.testPtr reproduces issue 10393 git-svn-id: https://pykd.svn.codeplex.com/svn@74272 9b283d60-5439-405e-af05-b73fd8c4d996 --- test/scripts/typeinfo.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/scripts/typeinfo.py b/test/scripts/typeinfo.py index 11fcc67..82c223a 100644 --- a/test/scripts/typeinfo.py +++ b/test/scripts/typeinfo.py @@ -111,6 +111,10 @@ class TypeInfoTest( unittest.TestCase ): ti = target.module.type("classChild") self.assertEqual( "enumType", ti.m_enumField.name() ) + + def testPtr(self): + self.assertEqual( "listStruct1*", target.module.type( "g_listHead1" ).name() ) + self.assertEqual( "Void*", target.module.type( "g_voidPtr" ).name() ) def testUnion(self): ti = target.module.type("unionTest")