changeset 0 | 83f4b4db085c |
child 2 | 99082257a271 |
-1:000000000000 | 0:83f4b4db085c |
---|---|
1 //desc: test LCleanedup is used to declare a local variable of a virtual operator function of a non-name class |
|
2 //option: |
|
3 //date:2008-8-20 13:51:31 |
|
4 //author:pingorliu |
|
5 //type: CT |
|
6 |
|
7 class base |
|
8 { |
|
9 }; |
|
10 struct |
|
11 { |
|
12 private: |
|
13 virtual TInt operator+(base b) |
|
14 { |
|
15 static LCleanedupPtr<TInt> member; //check:LCleanedup,operator+ |
|
16 } |
|
17 } mystruct; |