annotate clang/test/VFS/include-mixed-real-and-virtual.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children c4bab56944e8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: rm -rf %t
anatofuz
parents:
diff changeset
2 // RUN: mkdir -p %t
anatofuz
parents:
diff changeset
3 // RUN: echo "void baz(void);" > %t/real.h
anatofuz
parents:
diff changeset
4 // RUN: sed -e "s@INPUT_DIR@%{/S:regex_replacement}/Inputs@g" -e "s@OUT_DIR@%{/t:regex_replacement}@g" %S/Inputs/vfsoverlay.yaml > %t.yaml
anatofuz
parents:
diff changeset
5 // RUN: %clang_cc1 -Werror -ivfsoverlay %t.yaml -I %t -fsyntax-only %s
anatofuz
parents:
diff changeset
6
anatofuz
parents:
diff changeset
7 #include "not_real.h"
anatofuz
parents:
diff changeset
8 #include "real.h"
anatofuz
parents:
diff changeset
9
anatofuz
parents:
diff changeset
10 void foo() {
anatofuz
parents:
diff changeset
11 bar();
anatofuz
parents:
diff changeset
12 baz();
anatofuz
parents:
diff changeset
13 }