Re: [PATCH] c++: Add fallthrough attribute further test coverage [PR110345]

2024-12-17 Thread Jason Merrill
On 9/5/24 3:19 AM, Jakub Jelinek wrote: Hi! Similarly for fallthrough attribute. Had to add a second testcase because the diagnostics for fallthrough not used within switch at all is done during expansion and expansion won't happen if there are other errors in the testcase. Bootstrapped/regtes

[PATCH] c++: Add fallthrough attribute further test coverage [PR110345]

2024-09-05 Thread Jakub Jelinek
Hi! Similarly for fallthrough attribute. Had to add a second testcase because the diagnostics for fallthrough not used within switch at all is done during expansion and expansion won't happen if there are other errors in the testcase. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for