2014-06-20 03:36:03 +08:00
|
|
|
// Check that we can dump all of the headers a module depends on, and a VFS map
|
|
|
|
// for the same.
|
|
|
|
|
2017-03-11 03:34:15 +08:00
|
|
|
// REQUIRES: shell
|
|
|
|
|
2014-06-20 03:36:03 +08:00
|
|
|
// RUN: rm -rf %t
|
2015-06-16 08:08:24 +08:00
|
|
|
// 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
|
2014-06-20 03:36:03 +08:00
|
|
|
// expected-no-diagnostics
|
|
|
|
|
|
|
|
// RUN: FileCheck %s -check-prefix=VFS -input-file %t/vfs/vfs.yaml
|
2014-12-13 07:12:27 +08:00
|
|
|
// VFS: 'name': "SubFramework.h"
|
|
|
|
// VFS: 'name': "Treasure.h"
|
|
|
|
// VFS: 'name': "Module.h"
|
|
|
|
// VFS: 'name': "Sub.h"
|
|
|
|
// VFS: 'name': "Sub2.h"
|
2014-06-20 03:36:03 +08:00
|
|
|
|
|
|
|
@import Module;
|