srcanamdw_os/leavescan/test/testcases/LS11-testcases/PCT-LeaveScan-LS11-022.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 01:39:43 +0200
changeset 0 83f4b4db085c
child 2 99082257a271
permissions -rw-r--r--
Revision: 201005 Kit: 201005

//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;