srcanamdw_os/leavescan/test/testcases/LS11-testcases/PCT-LeaveScan-LS11-026.cpp
author William Roberts <williamr@symbian.org>
Wed, 28 Apr 2010 22:23:47 +0100
branchRCL_3
changeset 35 e5a9edf0be25
parent 18 99082257a271
permissions -rw-r--r--
Remerge fixes for Bug 476, Bug 1895, Bug 2149, Bug 2049, Bug 2509 and Bug 2539

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/
//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>
		}

};