srcanamdw_os/leavescan/test/testcases/LS15-testcases/PCT-LeaveScan-LS15-009.cpp
changeset 0 83f4b4db085c
child 2 99082257a271
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     1 //desc: test LCleanedup class used with Classic cleanup PushL in member function that defined out of class for LS15
       
     2 //option:
       
     3 //date:2008-8-21 15:19:15
       
     4 //author:pingorliu
       
     5 //type: CT
       
     6 
       
     7 template<class T>
       
     8 class temp
       
     9 {
       
    10 	public:
       
    11 void funcL();
       
    12 };
       
    13 template<class T>
       
    14 void temp::funcL<T>()
       
    15 {
       
    16 LCleanedupHandle<RBar> bar;
       
    17 CFoo* foo2 = CFoo::NewL(); 
       
    18 CleanupStack::PushL(foo2); //check:with,LCleaned
       
    19 
       
    20 
       
    21 }
       
    22