srcanamdw_os/leavescan/test/testcases/LS3-testcases/PCT-LeaveScan-LS3-020.cpp
changeset 0 83f4b4db085c
child 2 99082257a271
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     1 //desc:test new(ELeave) function call in override member function for LS3
       
     2 //option:
       
     3 //date:2008-8-12 15:58:1
       
     4 //author:pingorliu
       
     5 //type: CT
       
     6 
       
     7 class base
       
     8 {
       
     9 	void func(TInt x)
       
    10 	{
       
    11 	}
       
    12 	void func()
       
    13 	{
       
    14 	}
       
    15 
       
    16 };
       
    17 class temp:public base
       
    18 {
       
    19 void func(TInt x)
       
    20 {
       
    21 	fxx();
       
    22 }
       
    23 void func()
       
    24 {
       
    25 	CL a;
       
    26 	new(ELeave)(); //check:func,ELeave
       
    27 }
       
    28 };