1*67e74705SXin Li// Check that we can dump all of the headers a module depends on, and a VFS map 2*67e74705SXin Li// for the same. 3*67e74705SXin Li 4*67e74705SXin Li// RUN: rm -rf %t 5*67e74705SXin Li// 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*67e74705SXin Li// expected-no-diagnostics 7*67e74705SXin Li 8*67e74705SXin Li// RUN: FileCheck %s -check-prefix=VFS -input-file %t/vfs/vfs.yaml 9*67e74705SXin Li// VFS: 'name': "SubFramework.h" 10*67e74705SXin Li// VFS: 'name': "Treasure.h" 11*67e74705SXin Li// VFS: 'name': "Module.h" 12*67e74705SXin Li// VFS: 'name': "Sub.h" 13*67e74705SXin Li// VFS: 'name': "Sub2.h" 14*67e74705SXin Li 15*67e74705SXin Li@import Module; 16