--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/srcanamdw_os/leavescan/test/testcases/LS1-testcases/PCT-LeaveScan-LS1-003.cpp Tue Feb 02 01:39:43 2010 +0200
@@ -0,0 +1,18 @@
+//desc:test TRAP and TRAPD of LS1
+//option:
+//date:2008-8-12 15:58:1
+//author:pingorliu
+//type: CT
+
+void func()
+{
+ TRAP(fooL()); //check:-func,-leave
+ TRAP(fooLC()); //check:-func,-leave
+ TRAP( fooL() ); //check:-func,-leave
+
+ TRAP(/*this is a function call */ fooL() /*hello*/ ); //check:-func,-leave
+
+
+ TRAPD(result,fooL() ); //check:-func,-leave
+
+}