================
@@ -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 '"//?/
----------------
AaronBallman wrote:

This surprises me because that wasn't the file path the user wrote in the first 
place.

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