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

Oleksandr T. via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 2 23:58:42 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}}
----------------
a-tarasyuk wrote:

Thanks for the review. I've updated test

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


More information about the cfe-commits mailing list