diff -r 000000000000 -r 83f4b4db085c srcanamdw_os/leavescan/test/testcases/LS11-testcases/PCT-LeaveScan-LS11-023.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/srcanamdw_os/leavescan/test/testcases/LS11-testcases/PCT-LeaveScan-LS11-023.cpp Tue Feb 02 01:39:43 2010 +0200 @@ -0,0 +1,22 @@ +//desc: test LCleanedup is used to declare a local variable of a overload function of a template class +//option: +//date:2008-8-20 13:51:31 +//author:pingorliu +//type: CT + +template +class base +{ +}; +template +struct temp:private base +{ + private: + virtual void func(TInt,TEXT) + { + } + virtual void func(TT b) + { + static LCleanedupPtr member; //check:LCleanedup,func + } +}my;