================
@@ -0,0 +1,42 @@
+// RUN: %clang_cc1 %s -fsyntax-only -Wextra -verify
----------------
Endilll wrote:

Yes, more `RUN` lines with different `-std=` options, and potentially more 
`expected` directives tailored for particular language mode. We have an example 
of this in C++ defect report tests: 
https://github.com/llvm/llvm-project/blob/main/clang/test/CXX/drs/dr6xx.cpp

Note that I might be biased here, as someone who've spent a significant time 
with C++ defect report test suite.

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

Reply via email to