================
@@ -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
----------------
ChuanqiXu9 wrote:

`pre` and `post` are contextual keywords. I've added a test to use them in C++. 
`constract_assert` was contextual keywords. But @cor3ntin prefer to make it 
unconditional.

https://github.com/llvm/llvm-project/pull/221139
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to