Clang Project

clang_source_code/test/Index/missing_vfs.c
1// RUN: c-index-test -test-load-source local %s -ivfsoverlay %t/does-not-exist.yaml &> %t.out
2// RUN: FileCheck -check-prefix=STDERR %s < %t.out
3// STDERR: fatal error: virtual filesystem overlay file '{{.*}}' not found
4// RUN: FileCheck %s < %t.out
5// CHECK: missing_vfs.c:[[@LINE+1]]:6: FunctionDecl=foo:[[@LINE+1]]:6
6void foo(void);
7