diff -r 000000000000 -r 83f4b4db085c srcanamdw_os/leavescan/test/testcases/LS3-testcases/PCT-LeaveScan-LS3-020.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/srcanamdw_os/leavescan/test/testcases/LS3-testcases/PCT-LeaveScan-LS3-020.cpp Tue Feb 02 01:39:43 2010 +0200 @@ -0,0 +1,28 @@ +//desc:test new(ELeave) function call in override member function for LS3 +//option: +//date:2008-8-12 15:58:1 +//author:pingorliu +//type: CT + +class base +{ + void func(TInt x) + { + } + void func() + { + } + +}; +class temp:public base +{ +void func(TInt x) +{ + fxx(); +} +void func() +{ + CL a; + new(ELeave)(); //check:func,ELeave +} +};