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