================ @@ -35,7 +36,7 @@ void f(int n) { [[fallthrough]]; } case 8: - [[fallthrough]]; // expected-error {{does not directly precede switch label}} + [[fallthrough]]; // FIXME: The error {{does not directly precede switch label}} cannot reproduce in this translate unit, But it can be reproduced in a separate file. ---------------- AaronBallman wrote:
Huh, I wonder what's going on there... https://github.com/llvm/llvm-project/pull/146224 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits