You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Btw even without doctest you would get an error if you just wrote foo(i); in function scope, but if you cast it to void like this: (void)foo(i); it works. I'm thinking of closing this issue...
Sorry, I forgot about this. I rolled back the conversion from catch2 to doctest because of the missung GENERATE feature, so I didn't get around to testing this...
But the suggested fix works, thanks. Maybe this should be the default?
I've forgotten why it isn't the default - either because it was a breaking change or because of something else (like some other kind of expression not being castable to void or something...).
How much are you using the generators? Can the code be emulated with some loop of some sorts?
Description
Steps to reproduce
See https://godbolt.org/z/7t32D-
Extra information
The text was updated successfully, but these errors were encountered: