srcanamdw_os/leavescan/test/testcases/LS3-testcases/PCT-LeaveScan-LS3-025.cpp
changeset 0 83f4b4db085c
child 2 99082257a271
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/srcanamdw_os/leavescan/test/testcases/LS3-testcases/PCT-LeaveScan-LS3-025.cpp	Tue Feb 02 01:39:43 2010 +0200
@@ -0,0 +1,21 @@
+//desc:test OR_LEAVE call in member specialised template function of a class with TRAP for LS3
+//option:
+//date:2008-8-12 15:58:1
+//author:pingorliu
+//type: CT
+
+
+class temp
+{
+template<class T>
+void func(TInt x)
+{
+	fxx();
+}
+template<>
+void func<TInt>(TInt x)
+{
+	T a;
+	TRAP(serv.Connect() OR_LEAVE);  //check:-func,-calls,-Leave
+}
+};