================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits