--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/srcanamdw_os/leavescan/test/testcases/LS11-testcases/PCT-LeaveScan-LS11-022.cpp Tue Feb 02 01:39:43 2010 +0200
@@ -0,0 +1,17 @@
+//desc: test LCleanedup is used to declare a local variable of a virtual operator function of a non-name class
+//option:
+//date:2008-8-20 13:51:31
+//author:pingorliu
+//type: CT
+
+class base
+{
+};
+struct
+{
+ private:
+ virtual TInt operator+(base b)
+ {
+ static LCleanedupPtr<TInt> member; //check:LCleanedup,operator+
+ }
+} mystruct;