Update contrib.
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
22 A flag to record what part of lifecylce an object is in
59 //A buffer length for an object so large that we always
60 //expect allocation to fail.
61 const TInt KOOMBufferLength=10000000;
63 class XVeryLargeClassCtorAndDtor
66 XVeryLargeClassCtorAndDtor();
67 ~XVeryLargeClassCtorAndDtor();
68 TInt iBust[KOOMBufferLength];
71 class XVeryLargeClassCtorOnly
74 XVeryLargeClassCtorOnly();
75 TInt iBust[KOOMBufferLength];
78 class XVeryLargeClassDtorOnly
81 ~XVeryLargeClassDtorOnly();
82 TInt iBust[KOOMBufferLength];
85 class XVeryLargeClassNoTors
88 TInt iBust[KOOMBufferLength];
91 #endif //T_NEW_CLASSES