1// Check that we can dump all of the headers a module depends on, and a VFS map 2// for the same. 3 4// RUN: rm -rf %t 5// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache -module-dependency-dir %t/vfs -F %S/Inputs -I %S/Inputs -verify %s 6// expected-no-diagnostics 7 8// RUN: FileCheck %s -check-prefix=VFS -input-file %t/vfs/vfs.yaml 9// VFS: 'name': "SubFramework.h" 10// VFS: 'name': "Treasure.h" 11// VFS: 'name': "Module.h" 12// VFS: 'name': "Sub.h" 13// VFS: 'name': "Sub2.h" 14 15@import Module; 16