srcanamdw_os/leavescan/test/testcases/LS1-testcases/PCT-LeaveScan-LS1-003.cpp
author mikek
Wed, 23 Jun 2010 15:48:26 +0100
branchGCC_SURGE
changeset 53 d23856282806
parent 25 85578ba0aa08
permissions -rw-r--r--
Fix for Bug 3054 - [GCCE] armasm2as.pl cannot parse parentheses in maco IF conditions.

/*
* 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 TRAP and TRAPD of LS1
//option:
//date:2008-8-12 15:58:1
//author:pingorliu
//type: CT

void func()
{
	TRAP(fooL()); //check:-func,-leave
	TRAP(fooLC()); //check:-func,-leave
	TRAP(                                    fooL()   ); //check:-func,-leave

        TRAP(/*this is a function call */ fooL() /*hello*/    ); //check:-func,-leave
	

	TRAPD(result,fooL()  ); //check:-func,-leave

}