================
@@ -0,0 +1,12 @@
+// RUN: %clang_cc1 -fcxx-exceptions
-verify=beforecxx14,beforecxx20,beforecxx23 -std=c++11 %s
+// RUN: %clang_cc1 -fcxx-exceptions -verify=beforecxx20,beforecxx23 -std=c++14
%s
+// RUN: %clang_cc1 -fcxx-exceptions -verify=beforecxx23 -std=c++20 %s
+// RUN: %clang_cc1 -fcxx-exceptions -std=c++23 %s
+
+constexpr int GNUConstexprComputedGoto() {
+ return 0; // beforecxx14-note {{previous}}
+ // - an indirect goto statement
----------------
zwuis wrote:
This comment seems meaningless.
https://github.com/llvm/llvm-project/pull/213449
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits