nickdesaulniers marked an inline comment as done. nickdesaulniers added inline comments.
================ Comment at: clang/lib/Sema/JumpDiagnostics.cpp:669 + if (JumpScope != TargetScope) + DiagnoseIndirectOrAsmJump(G, JumpScope, LD, TargetScope); + } ---------------- shafik wrote: > Do we have a test that checks this diagnostic? Yes, //all// of the existing tests in clang/test/Sema/asm-goto.cpp are a result of this statement. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D155342/new/ https://reviews.llvm.org/D155342 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits