[clang] fix(80474): Clang crash on improper use of __array_extent (PR #94173)

via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 2 21:12:43 PDT 2024


================
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 -verify -std=c++11 %s
+
+auto f() { // expected-error {{'auto' return without trailing return type; deduced return types are a C++14 extension}}
----------------
Sirraide wrote:

I’d set the standard version to `C++14` or later to avoid unrelated diagnostics

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


More information about the cfe-commits mailing list