srcanamdw_os/leavescan/test/testcases/LS12-testcases/PCT-LeaveScan-LS12-005.cpp
changeset 0 83f4b4db085c
child 2 99082257a271
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     1 //desc:test LCleanup class used in leaving member function for LS12
       
     2 //option:
       
     3 //date:2008-8-12 15:58:1
       
     4 //author:pingorliu
       
     5 //type: CT
       
     6 
       
     7 class temp
       
     8 {
       
     9 void funcL()
       
    10 {
       
    11 
       
    12 	LCleanedupHandle<RBaz> baz;//check:-improper
       
    13 	LString8 s(KMaxString);//check:-improper
       
    14 	LData buf(KMaxBuf)   ;//check:-improper
       
    15 
       
    16         /*this is a function call */ LData buf(KMaxBuf) /*hello*/    ;//check:-improper
       
    17 	
       
    18 
       
    19 	
       
    20 
       
    21 }
       
    22 template<class T>
       
    23 void fooL();
       
    24 
       
    25 };
       
    26 template<class T>
       
    27 void temp::fooL()
       
    28 {
       
    29 LString8 s(KMaxString);//check:-improper
       
    30 }