================ @@ -1296,6 +1296,29 @@ TEST_F(FileSystemTest, UTF8ToUTF16DirectoryIteration) { } #endif +TEST_F(FileSystemTest, OpenDirectoryAsFileForRead) { ---------------- azhan92 wrote: Sure, which other file would you suggest? https://github.com/llvm/llvm-project/pull/79880