xref: /minix3/external/bsd/llvm/dist/clang/test/Modules/dependency-dump.m (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1// Check that we can dump all of the headers a module depends on, and a VFS map
2// for the same.
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 -input-file %t/vfs/vfs.yaml
9// VFS: 'name': "SubFramework.h"
10// VFS: 'name': "Treasure.h"
11// VFS: 'name': "Module.h"
12// VFS: 'name': "Sub.h"
13// VFS: 'name': "Sub2.h"
14
15@import Module;
16