srcanamdw_os/leavescan/test/testcases/LS2-testcases/PCT-LeaveScan-LS2-005.cpp
changeset 0 83f4b4db085c
child 2 99082257a271
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/srcanamdw_os/leavescan/test/testcases/LS2-testcases/PCT-LeaveScan-LS2-005.cpp	Tue Feb 02 01:39:43 2010 +0200
@@ -0,0 +1,19 @@
+//desc:test TRAP and TRAPD of LS2
+//option:
+//date:2008-8-12 15:58:1
+//author:pingorliu
+//type: CT
+
+void funcL()
+{//check:funcL,leavers
+
+	TRAP(fooL());
+	TRAP(fooLC());
+	TRAP(                                    fooL()   );
+
+        TRAP(/*this is a function call */ fooL() /*hello*/    );
+	
+
+	TRAPD(result,fooL()  );
+
+}