equal
deleted
inserted
replaced
|
1 //desc:test new(ELeave) call in member function definition out of a class for LS3 |
|
2 //option: |
|
3 //date:2008-8-12 15:58:1 |
|
4 //author:pingorliu |
|
5 //type: CT |
|
6 class CC |
|
7 { |
|
8 void func(); |
|
9 }; |
|
10 |
|
11 void CC::func() |
|
12 { |
|
13 new(ELeave)CL(); //check:func,ELeave |
|
14 } |
|
15 |