mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-24 22:08:57 -04:00

Use llvm::sys::fs::make_absolute to get an absolute path before matching. Also, allow "." directories to enable testing. ".." is still not supported, and will require crossing file system boundaries to implement correctly. llvm-svn: 202903
12 lines
268 B
C
12 lines
268 B
C
// RUN: mkdir -p %t
|
|
// RUN: cd %t
|
|
// RUN: sed -e "s:INPUT_DIR:%S/Inputs:g" -e "s:OUT_DIR:%t:g" %S/Inputs/vfsoverlay.yaml > %t.yaml
|
|
// RUN: %clang_cc1 -Werror -I . -ivfsoverlay %t.yaml -fsyntax-only %s
|
|
// REQUIRES: shell
|
|
|
|
#include "not_real.h"
|
|
|
|
void foo() {
|
|
bar();
|
|
}
|