equal
deleted
inserted
replaced
|
1 //desc:test new(ELeave) and User::Leave of LS3 |
|
2 //option: |
|
3 //date:2008-8-12 15:58:1 |
|
4 //author:pingorliu |
|
5 //type: CT |
|
6 |
|
7 void func() |
|
8 { |
|
9 /*new(ELeave)CL();*/ //check:-func,-calls |
|
10 |
|
11 /* |
|
12 * |
|
13 * new(ELeave)CL(); //check:-func,-calls |
|
14 * |
|
15 */ |
|
16 |
|
17 new(ELeavet)CL(); //check:func,ELeave |
|
18 |
|
19 //this is a function call User::Leave(); //check:-func,-calls |
|
20 //this is a function call User::LeaveIfError(); //check:-func,-calls |
|
21 //this is a function call User::LeaveNoMemory(); //check:-func,-calls |
|
22 //this is a function call User::LeaveIfError(); //check:-func,-calls |
|
23 |
|
24 |
|
25 string str = "calling new(ELeave)CL()"; //check:-func,-ELeave |
|
26 string str2 = "\"calling User::Leave()\""; //check:-func,-calls |
|
27 string str3 = "\"calling User::LeaveIfError()"; //check:-func,-calls |
|
28 string str4 = "'calling ELeave'"; //check:-func,-calls |
|
29 string str5 = "'calling Leave()"; //check:-func,-calls |
|
30 string str6 = " this is a function\ |
|
31 User::Leave()"; //check:-func,-calls |
|
32 |
|
33 int ELeavet = 1; //check:-func,-calls |
|
34 MARCOELEAVE(); //check:-func,-calls |
|
35 |
|
36 } |