================
@@ -11,6 +11,7 @@
 // REQUIRES: system-windows
 // RUN: mkdir -p %t.dir
 // RUN: touch %t.dir/foo.h
-// RUN: not %clang_cl /FI \\?\%{t:real}.dir\FOO.h /WX -fsyntax-only %s 2>&1 | 
FileCheck %s
+// RUN: echo #include "\"\\\\?\%{t:real}.dir\FOO.h\"" > %t.dir/test.c
+// RUN: not %clang_cl /WX -fsyntax-only %t.dir\test.c 2>&1 | FileCheck %s
 
-// CHECK: non-portable path to file '"\\?\
+// CHECK: non-portable path to file '"//?/
----------------
rosefromthedead wrote:

This aligns with the case insensitivity warning which also prints the "actual" 
path of the file in this position rather than what the user wrote

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

Reply via email to