================
@@ -0,0 +1,15 @@
+// RUN: %clang_cc1                  -Wpedantic %s -fsyntax-only -isystem 
%S/Inputs -verify=ext
+// RUN: %clang_cc1 -std=c2y         -Wpedantic %s -fsyntax-only -isystem 
%S/Inputs -verify
+// RUN: %clang_cc1 -std=c2y -Wpre-c2y-compat   %s -fsyntax-only -isystem 
%S/Inputs -verify=pre
+// RUN: %clang_cc1                            -pedantic %s -fsyntax-only 
-isystem %S/Inputs -verify=ext
+// RUN: %clang_cc1 -std=c2y -Wpre-c2y-compat  -pedantic %s -fsyntax-only 
-isystem %S/Inputs -verify=pre
----------------
AaronBallman wrote:

Can you add a `-pedantic-errors` RUN line? (I am hoping that also silences the 
diagnostic and doesn't produce errors, but let's test to be sure.)

https://github.com/llvm/llvm-project/pull/196689
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to