================
@@ -0,0 +1,28 @@
+
+# REQUIRES: shell
+# UNSUPPORTED: system-windows
+
+# This test demonstrates the new "IncludePath" field.
+# This field allows specifying include paths through
+# multilib.yaml configuration using relative paths.
+# Absolute paths should be rejected by the driver
+# with an appropriate diagnostic message.
+#
+# This test verifies that passing an absolute path
+# (/include) to IncludePath triggers the expected
+# error.
+
+# # RUN: %clang --target=aarch64-none-elf --multi-lib-config=%s %s -### -o 
/dev/null 2>&1 \
----------------
statham-arm wrote:

I'm a bit surprised that this double `#` doesn't stop the run from happening!

Also slightly surprised that you didn't need a `not` on the command line. Does 
the clang driver not return a failure status when it finds an error in 
`multilib.yaml`?

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

Reply via email to