[clang] [Clang][Sema]: Allow copy constructor side effects (PR #81127)
Vinayak Dev via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 8 08:30:07 PST 2024
================
@@ -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
----------------
vinayakdsci wrote:
> I think that would give an error when the gnu++11 check is run?
It seems to fail on all standards below C++14.
https://github.com/llvm/llvm-project/pull/81127
More information about the cfe-commits
mailing list