annotate clang/test/PCH/pch-through4a.cpp @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // expected-no-diagnostics
anatofuz
parents:
diff changeset
2 // Create PCH with a through header.
anatofuz
parents:
diff changeset
3 // RUN: %clang_cc1 -verify -I %S -emit-pch \
anatofuz
parents:
diff changeset
4 // RUN: -pch-through-header=Inputs/pch-through1.h \
anatofuz
parents:
diff changeset
5 // RUN: -fms-extensions -o %t.pch -x c++-header %s
anatofuz
parents:
diff changeset
6
anatofuz
parents:
diff changeset
7 // Create the PCH object
anatofuz
parents:
diff changeset
8 // RUN: %clang_cc1 -verify -I %S -emit-obj -include-pch %t.pch \
anatofuz
parents:
diff changeset
9 // RUN: -pch-through-header=Inputs/pch-through1.h \
anatofuz
parents:
diff changeset
10 // RUN: -fms-extensions -o %t.obj -x c++ %s
anatofuz
parents:
diff changeset
11
anatofuz
parents:
diff changeset
12 #define Source(x,y)
anatofuz
parents:
diff changeset
13 #define InOut(size) Source(InOut, (size))
anatofuz
parents:
diff changeset
14 void f(InOut(a) char *b, unsigned long a);
anatofuz
parents:
diff changeset
15 #include "Inputs/pch-through1.h"
anatofuz
parents:
diff changeset
16 int other;