17 lines · plain
1// When a module depends on another, check that we dump the dependency header2// files for both.3 4// RUN: rm -rf %t5// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache -module-dependency-dir %t/vfs -F %S/Inputs -I %S/Inputs -verify %s6// expected-no-diagnostics7 8// RUN: FileCheck %s -check-prefix=VFS < %t/vfs/vfs.yaml9// 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