annotate clang/test/VFS/include-mixed-real-and-virtual.c @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
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 }