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 "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.
14 // Name : uncaught_exception_test.cpp
15 // Part of : standard c++ tests.
20 #include "test_decls.h"
27 // This object is destroyed before the exception is caught.
28 bool uc = std::uncaught_exception();
45 CPP_TESTS_ASSERT_ALLWAYS(glob_val == 1);