================
@@ -0,0 +1,42 @@
+// RUN: %clang_cc1 -std=c++03 -verify=expected,cxx11,cxx03 -fsyntax-only %s
+// RUN: %clang_cc1 -std=c++11 -verify=expected,cxx11 -fsyntax-only %s
+// RUN: %clang_cc1 -std=c++2c -verify=expected -fsyntax-only %s
+
+
+class A trivially_relocatable_if_eligible {};
+// cxx11-warning@-1 {{'trivially_relocatable_if_eligible' keyword is a C++2c 
extension}}
----------------
Fznamznon wrote:

I'm just curious, why don't we say and test C++26 instead of C++2c?

https://github.com/llvm/llvm-project/pull/127636
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to