changeset 0 | 83f4b4db085c |
child 2 | 99082257a271 |
-1:000000000000 | 0:83f4b4db085c |
---|---|
1 //desc:test LCleanup class used in leaving template function for LS12 |
|
2 //option: |
|
3 //date:2008-8-12 15:58:1 |
|
4 //author:pingorliu |
|
5 //type: CT |
|
6 |
|
7 template<class T> |
|
8 void funcL() |
|
9 { |
|
10 |
|
11 LCleanedupHandle<T> baz;//check:-improper |
|
12 LString8 s(KMaxString);//check:-improper |
|
13 LData buf(KMaxBuf) ;//check:-improper |
|
14 |
|
15 /*this is a function call */ LData buf(KMaxBuf) /*hello*/ ;//check:-improper |
|
16 |
|
17 |
|
18 |
|
19 } |