srcanamdw_os/leavescan/test/testcases/LS3-testcases/PCT-LeaveScan-LS3-025.cpp
changeset 0 83f4b4db085c
child 2 99082257a271
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     1 //desc:test OR_LEAVE call in member specialised template function of a class with TRAP 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 template<class T>
       
    11 void func(TInt x)
       
    12 {
       
    13 	fxx();
       
    14 }
       
    15 template<>
       
    16 void func<TInt>(TInt x)
       
    17 {
       
    18 	T a;
       
    19 	TRAP(serv.Connect() OR_LEAVE);  //check:-func,-calls,-Leave
       
    20 }
       
    21 };