================
@@ -0,0 +1,11 @@
+// REQUIRES: case-insensitive-filesystem
+// RUN: %clang_cc1 -Wall %s
+
+#include "empty_file_to_include.h " // expected-warning {{non-portable path}}
+#include "empty_file_to_include.h." // expected-warning {{non-portable path}}
+#include "empty_file_to_include.h " // expected-warning {{non-portable
path}}
+#include "empty_file_to_include.h......." // expected-warning {{non-portable
path}}
+#include "empty_file_to_include.h . . . " // expected-warning {{non-portable
path}}
+#include "empty_file_to_include.h.. .. " // expected-warning {{non-portable
path}}
+
+#include "empty_file_to_include.h" // No warning
----------------
AaronBallman wrote:
Please add a newline to the end of the file.
https://github.com/llvm/llvm-project/pull/96960
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits