Remove building with NOCRYPTO option
[minix.git] / external / bsd / llvm / dist / clang / test / Index / index-module-with-vfs.m
blobf3ca60cf941fe46227ad61b8422f6110782028f9
1 // REQUIRES: shell
2 @import ModuleNeedsVFS;
4 void foo() {
5   module_needs_vfs();
6   base_module_needs_vfs();
9 // RUN: rm -rf %t.cache
10 // RUN: sed -e "s:INPUT_DIR:%S/Inputs:g" -e "s:OUT_DIR:%t:g" %S/Inputs/vfsoverlay.yaml > %t.yaml
11 // RUN: c-index-test -index-file %s -fmodules-cache-path=%t.cache -fmodules -F %t -I %t \
12 // RUN:              -ivfsoverlay %t.yaml -Xclang -fdisable-module-hash | FileCheck %s
14 // CHECK: [importedASTFile]: {{.*}}ModuleNeedsVFS.pcm | loc: 2:1 | name: "ModuleNeedsVFS" | isImplicit: 0
15 // CHECK: [indexEntityReference]: kind: function | name: module_needs_vfs
16 // CHECK: [indexEntityReference]: kind: function | name: base_module_needs_vfs
18 // RUN: c-index-test -index-tu %t.cache/ModuleNeedsVFS.pcm | FileCheck %s -check-prefix=CHECK-MOD
20 // CHECK-MOD: [ppIncludedFile]: {{.*}}module_needs_vfs.h 
21 // CHECK-MOD: [importedASTFile]: {{.*}}BaseModuleNeedsVFS.pcm
22 // CHECK-MOD: [indexEntityReference]: kind: function | name: base_module_needs_vfs
24 // RUN: c-index-test -index-tu %t.cache/BaseModuleNeedsVFS.pcm | FileCheck %s -check-prefix=CHECK-MOD2
26 // CHECK-MOD2: [ppIncludedFile]: {{.*}}base_module_needs_vfs.h