changeset 0 | 83f4b4db085c |
child 2 | 99082257a271 |
-1:000000000000 | 0:83f4b4db085c |
---|---|
1 //desc:test TRAP and TRAPD of LS2 |
|
2 //option: |
|
3 //date:2008-8-12 15:58:1 |
|
4 //author:pingorliu |
|
5 //type: CT |
|
6 |
|
7 void funcL() |
|
8 {//check:funcL,leavers |
|
9 |
|
10 TRAP(fooL()); |
|
11 TRAP(fooLC()); |
|
12 TRAP( fooL() ); |
|
13 |
|
14 TRAP(/*this is a function call */ fooL() /*hello*/ ); |
|
15 |
|
16 |
|
17 TRAPD(result,fooL() ); |
|
18 |
|
19 } |