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