srcanamdw_os/leavescan/test/testcases/LS13-testcases/PCT-LeaveScan-LS13-009.cpp
changeset 0 83f4b4db085c
child 2 99082257a271
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/srcanamdw_os/leavescan/test/testcases/LS13-testcases/PCT-LeaveScan-LS13-009.cpp	Tue Feb 02 01:39:43 2010 +0200
@@ -0,0 +1,16 @@
+//desc:test LData is used as a return type of a non-leaving friend function of a class for LS13
+//option:
+//date:2008-8-21 14:10:2
+//author:pingorliu
+//type: CT
+
+class temp
+{
+	public:
+friend LData func(); //check:func,return
+};
+
+LData func() //check:func
+{
+	foo();
+}