1 // When a module depends on another, check that we dump the dependency header 2 // files for both. 3 4 // RUN: rm -rf %t 5 // RUN: %clang_cc1 -fmodules -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 < %t/vfs/vfs.yaml 9 // VFS: 'name': "AlsoDependsOnModule.h" 10 // VFS: 'name': "SubFramework.h" 11 // VFS: 'name': "Treasure.h" 12 // VFS: 'name': "Module.h" 13 // VFS: 'name': "Sub.h" 14 // VFS: 'name': "Sub2.h" 15 16 @import AlsoDependsOnModule; 17 18 // FIXME: This fails on win32 due to ERROR_FILENAME_EXCED_RANGE 19 // if the working directory is too deep. 20 // We should make Win32/Path.inc capable of long pathnames with '\\?\'. 21 // For now, this is suppressed on win32. 22 // REQUIRES: shell 23