================ @@ -0,0 +1,16 @@ +// RUN: %clang_cc1 -std=c17 -fcontracts -fsyntax-only -verify %s + +// Contracts are a C++ feature. Enabling the parser option in C mode must not ---------------- erichkeane wrote:
So they are contextual keywords, right? Can we have some tests that make sure we don't stomp on these in both of the C++ modes too? (Even with it enabled). Also, this doesn't check against contextual keywords, since you never use it in a contextual-keyword-location. https://github.com/llvm/llvm-project/pull/221139 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
