================
@@ -0,0 +1,3 @@
+// RUN: %clang_cc1 -std=c++20 -fms-extensions %s
+// expected-no-diagnostics
+constexpr int x = []{ __noop; return 0; }();
----------------
ofAlpaca wrote:If adding ``RUN: %clang_cc1 %s -std=c++20 -fms-extensions`` at the top line of builtins.cpp, without using define/ifdef, other testcases will fail. Could @cor3ntin kindly give me more hints to this? https://github.com/llvm/llvm-project/pull/105983 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
