srcanamdw_os/leavescan/test/testcases/LS3-testcases/PCT-LeaveScan-LS3-011.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 new(ELeave) call in a member function definition of a template class for LS3
//option:
//date:2008-8-12 15:58:1
//author:pingorliu
//type: CT
template<class T>
class CC
{
	void func();
};

template<class T>
void CC::func()
{
	new(ELeave)CL(); //check:func,ELeave
}