| 17 | }; |
| 18 | |
| 19 | int main() |
| 20 | { |
| 21 | X<int> arr[2]{}; |
| 22 | |
| 23 | // We use X<const int> instead of X<int> here. This results |
| 24 | // in a constructor call to create a X<const int> object as |
| 25 | // you can see in the transformation. |
| 26 | for(const X<const int>& x : arr) { |
| 27 | } |
| 28 | } |
nothing calls this directly
no outgoing calls
no test coverage detected