diff -r 000000000000 -r 83f4b4db085c srcanamdw_os/leavescan/test/testcases/LS12-testcases/PCT-LeaveScan-LS12-005.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/srcanamdw_os/leavescan/test/testcases/LS12-testcases/PCT-LeaveScan-LS12-005.cpp Tue Feb 02 01:39:43 2010 +0200 @@ -0,0 +1,30 @@ +//desc:test LCleanup class used in leaving member function for LS12 +//option: +//date:2008-8-12 15:58:1 +//author:pingorliu +//type: CT + +class temp +{ +void funcL() +{ + + LCleanedupHandle baz;//check:-improper + LString8 s(KMaxString);//check:-improper + LData buf(KMaxBuf) ;//check:-improper + + /*this is a function call */ LData buf(KMaxBuf) /*hello*/ ;//check:-improper + + + + +} +template +void fooL(); + +}; +template +void temp::fooL() +{ +LString8 s(KMaxString);//check:-improper +}