aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/dependency-dump.m
blob: f3a487544b8e9e2f984a34647171184b7fe3d505 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Check that we can dump all of the headers a module depends on, and a VFS map
// for the same.

// RUN: rm -rf %t
// 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
// expected-no-diagnostics

// RUN: FileCheck %s -check-prefix=VFS -input-file %t/vfs/vfs.yaml
// VFS: 'name': "SubFramework.h"
// VFS: 'name': "Treasure.h"
// VFS: 'name': "Module.h"
// VFS: 'name': "Sub.h"
// VFS: 'name': "Sub2.h"

@import Module;