[clang] [llvm] [RISCV] Teach .option arch to support experimental extensions. (PR #89727)

Jessica Clarke via cfe-commits cfe-commits at lists.llvm.org
Tue May 7 08:37:45 PDT 2024


================
@@ -0,0 +1,7 @@
+// RUN: %clang --target=riscv64 -menable-experimental-extensions -c -o /dev/null %s
+// RUN: ! %clang --target=riscv64 -c -o /dev/null %s 2>&1 | FileCheck -check-prefixes=CHECK-ERR %s
----------------
jrtc27 wrote:

Use not rather than !

https://github.com/llvm/llvm-project/pull/89727


More information about the cfe-commits mailing list