[clang-tools-extra] [clang] [llvm] [clang][Sema] Add checks for validity of default ctor's class (PR #78898)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 25 23:39:17 PST 2024


================
@@ -0,0 +1,22 @@
+// RUN: %clang_cc1 -verify -std=c++98 %s
+// RUN: %clang_cc1 -verify -std=c++11 %s
+// RUN: %clang_cc1 -verify -std=c++14 %s
+// RUN: %clang_cc1 -verify -std=c++17 %s
+// RUN: %clang_cc1 -verify -std=c++20 %s
+// RUN: %clang_cc1 -verify -std=c++23 %s
+// RUN: %clang_cc1 -verify -std=c++2c %s
----------------
cor3ntin wrote:

We could do 11 and 2c if you want, i don't think it's useful to test all language modes for these tests (ditto the other ones)

https://github.com/llvm/llvm-project/pull/78898


More information about the cfe-commits mailing list