srcanamdw_os/leavescan/test/testcases/LS1-testcases/PCT-LeaveScan-LS1-003.cpp
changeset 0 83f4b4db085c
child 2 99082257a271
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     1 //desc:test TRAP and TRAPD of LS1
       
     2 //option:
       
     3 //date:2008-8-12 15:58:1
       
     4 //author:pingorliu
       
     5 //type: CT
       
     6 
       
     7 void func()
       
     8 {
       
     9 	TRAP(fooL()); //check:-func,-leave
       
    10 	TRAP(fooLC()); //check:-func,-leave
       
    11 	TRAP(                                    fooL()   ); //check:-func,-leave
       
    12 
       
    13         TRAP(/*this is a function call */ fooL() /*hello*/    ); //check:-func,-leave
       
    14 	
       
    15 
       
    16 	TRAPD(result,fooL()  ); //check:-func,-leave
       
    17 
       
    18 }