srcanamdw_os/leavescan/test/testcases/LS3-testcases/PCT-LeaveScan-LS3-018.cpp
changeset 0 83f4b4db085c
child 2 99082257a271
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     1 //desc:test User::LeaveIfError function call in a member template function of a class for LS3
       
     2 //option:
       
     3 //date:2008-8-12 15:58:1
       
     4 //author:pingorliu
       
     5 //type: CT
       
     6 
       
     7 
       
     8 class temp
       
     9 {
       
    10 void func(TInt x)
       
    11 {
       
    12 	fxx();
       
    13 }
       
    14 template<class T>
       
    15 void func()
       
    16 {
       
    17 	
       
    18 	User::LeaveIfError(); //check:func,calls,Leave
       
    19 }
       
    20 };