| 1 | int main() |
| 2 | { |
| 3 | // empty lambda directly invoked with empty body |
| 4 | []{}(); |
| 5 | |
| 6 | |
| 7 | []{ 1 * 2; }(); |
| 8 | |
| 9 | |
| 10 | int a; |
| 11 | int b; |
| 12 | |
| 13 | [](int& x, int& y) { x = x + y; }(a, b); |
| 14 | |
| 15 | } |
| 16 |
nothing calls this directly
no outgoing calls
no test coverage detected