================
@@ -1,5 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -Wunused-variable -Wunused-label 
-Wno-c++1y-extensions -verify %s
-// RUN: %clang_cc1 -fsyntax-only -Wunused-variable -Wunused-label 
-Wno-c++1y-extensions -verify -std=gnu++11 %s
+// RUN: %clang_cc1 -fsyntax-only -Wunused-variable -Wunused-label 
-Wno-c++1y-extensions -verify -std=gnu++17 %s
----------------
Endilll wrote:

As much as hate to say this, this is a point to investigate. What should happen 
in language modes before 17? Maybe mandatory copy elision introduced in 17 is 
involved?
I don't think this patch is supposed to remove a language mode all other tests 
have been tested in. That's simply out of scope of the PR.

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

Reply via email to