srcanamdw_os/leavescan/test/testcases/DEF-testcases/pct-leavescan-def-129216-024.cpp
equal
deleted
inserted
replaced
|
1 //desc:test warning message:Returns->returns |
|
2 ////option: |
|
3 //date:2008-12-22 14:58:10 |
|
4 //author:bolowy |
|
5 //type: CT |
|
6 |
|
7 class a |
|
8 { |
|
9 int i; |
|
10 LData func(int a)//check:return |
|
11 { |
|
12 foo(); |
|
13 } |
|
14 void func2(LData a)//check:uses |
|
15 { |
|
16 foo(); |
|
17 } |
|
18 LString func3(int a)//check:return |
|
19 { |
|
20 foo(); |
|
21 } |
|
22 void func4(LString a)//check:uses |
|
23 { |
|
24 foo(); |
|
25 } |
|
26 |
|
27 }; |
|
28 |
|
29 LData func5(int a)//check:return |
|
30 { |
|
31 foo(); |
|
32 } |
|
33 void func6(LData a)//check:uses |
|
34 { |
|
35 foo(); |
|
36 } |
|
37 LString func7(int a)//check:return |
|
38 { |
|
39 foo(); |
|
40 } |
|
41 void func8(LString a)//check:uses |
|
42 { |
|
43 foo(); |
|
44 } |
|
45 |