srcanamdw_os/leavescan/test/testcases/LS2-testcases/PCT-LeaveScan-LS2-046.cpp
changeset 0 83f4b4db085c
child 2 99082257a271
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     1 //desc:test specialised template constructor of a Lclass for LS2
       
     2 //option:
       
     3 //date:2008-8-12 15:58:1
       
     4 //author:pingorliu
       
     5 //type: CT
       
     6 
       
     7 class Ltemp
       
     8 {
       
     9 template<class T>
       
    10 Ltemp(T x)
       
    11 {
       
    12 
       
    13 	fooL();
       
    14 
       
    15 }
       
    16 };
       
    17 
       
    18 template<>
       
    19 Ltemp::Ltemp<TInt>()
       
    20 {//check:contain,leaver
       
    21 	foo();
       
    22 }