srcanamdw_os/leavescan/test/testcases/LS12-testcases/PCT-LeaveScan-LS12-001.cpp
changeset 0 83f4b4db085c
child 2 99082257a271
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     1 //desc:test TRAP and TRAPD of LS12
       
     2 //option:
       
     3 //date:2008-8-12 15:58:1
       
     4 //author:pingorliu
       
     5 //type: CT
       
     6 
       
     7 void func()
       
     8 {
       
     9 
       
    10 	TRAP(LCleanedupHandle<RBaz> baz);//check:-improper
       
    11 	TRAP(LString8 s(KMaxString));//check:-improper
       
    12 	TRAP(                                    LData buf(KMaxBuf)   );//check:-improper
       
    13 
       
    14         TRAP(/*this is a function call */ LData buf(KMaxBuf) /*hello*/    );//check:-improper
       
    15 	
       
    16 
       
    17 	TRAPD(result,LCleanedupHandle<RBaz> baz2  );//check:-improper
       
    18 
       
    19 }