]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Modules/dependency-dump-dependent-module.m
Vendor import of clang trunk r290819:
[FreeBSD/FreeBSD.git] / test / Modules / dependency-dump-dependent-module.m
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 -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 < %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;