Jason
I don't think the diagnostic is meaningless; since a() is ill-formed,
b() has type void. But we ought to give a more helpful message when an
expression used as a truth value has an unsuitable type.
- [C++ Patch] PR 53158 Paolo Carlini
- Re: [C++ Patch] PR 53158 Jason Merrill
- Re: [C++ Patch] PR 53158 Paolo Carlini
- Re: [C++ Patch] PR 53158 Paolo Carlini
- Re: [C++ Patch] PR 53158 Manuel López-Ibáñez
- Re: [C++ Patch] PR 53158 Paolo Carlini
- Re: [C++ Patch] PR 53158 Paolo Carlini
- Re: [C++ Patch] PR 53... Jason Merrill
- Re: [C++ Patch] PR 53... Paolo Carlini
- Re: [C++ Patch] PR 53... Jason Merrill
- Re: [C++ Patch] PR 53... Paolo Carlini
- Re: [C++ Patch] PR 53... Paolo Carlini