================
@@ -0,0 +1,31 @@
+// RUN: %clang_cc1 -fsyntax-only -std=c++20 -Wno-all -Wunsafe-buffer-usage 
-verify %s
+// RUN: %clang_cc1 -fsyntax-only -x c -Wno-all -Wunsafe-buffer-usage -verify %s
----------------
steakhal wrote:

Usually when I craft RUN lines, I tried to either, share the longest common 
prefix for the lines, or create a `DEFINE` to substitute to the common parts 
and explicitly pass what is different.
How about this?

```suggestion
// RUN: %clang_cc1 -fsyntax-only -Wno-all -Wunsafe-buffer-usage -verify %s 
-std=c++20
// RUN: %clang_cc1 -fsyntax-only -Wno-all -Wunsafe-buffer-usage -verify %s -x c
```

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

Reply via email to