| 136 | |
| 137 | |
| 138 | class E: public gc_cleanup {public: |
| 139 | /* A collectable class with clean-up for use by F. */ |
| 140 | |
| 141 | E() { |
| 142 | nAllocated++;} |
| 143 | ~E() { |
| 144 | nFreed++;} |
| 145 | |
| 146 | static int nFreed; |
| 147 | static int nAllocated;}; |
| 148 | |
| 149 | int E::nFreed = 0; |
| 150 | int E::nAllocated = 0; |
nothing calls this directly
no outgoing calls
no test coverage detected