--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/srcanamdw_os/leavescan/test/testcases/LS11-testcases/PCT-LeaveScan-LS11-026.cpp Tue Feb 02 01:39:43 2010 +0200
@@ -0,0 +1,32 @@
+//desc: test LCleanedup is used to declare a data member of a specialised function of a specialised class
+//option:
+//date:2008-8-20 13:51:31
+//author:pingorliu
+//type: CT
+
+template<class T>
+class base
+{
+};
+template<class TT>
+struct temp:private base<TInt>
+{
+ private:
+
+} mystruct;
+
+template<>
+struct temp<TInt>:private base<TInt>
+{
+ private:
+ template<typename T>
+ void func()
+ {
+ }
+ template<>
+ void func<TInt>()
+ {
+ static LCleanedupPtr<TT> member; //check:LCleanedup,temp<TInt>
+ }
+
+};