changeset 0 | 83f4b4db085c |
child 2 | 99082257a271 |
-1:000000000000 | 0:83f4b4db085c |
---|---|
1 //desc:test leave function call in override member function for LS2 |
|
2 //option: |
|
3 //date:2008-8-12 15:58:1 |
|
4 //author:pingorliu |
|
5 //type: CT |
|
6 |
|
7 class base |
|
8 { |
|
9 void funcL(TInt x) |
|
10 { |
|
11 } |
|
12 void funcL() |
|
13 { |
|
14 } |
|
15 |
|
16 }; |
|
17 class temp:public base |
|
18 { |
|
19 void funcL(TInt x) |
|
20 { |
|
21 fxx(); |
|
22 } |
|
23 void funcL() |
|
24 {//check:-funcL,-leavers |
|
25 |
|
26 CL a; |
|
27 a.b.c.fooL(); |
|
28 } |
|
29 }; |