150
|
1 // expected-no-diagnostics
|
|
2 // Create PCH with a through header.
|
|
3 // RUN: %clang_cc1 -verify -I %S -emit-pch \
|
|
4 // RUN: -pch-through-header=Inputs/pch-through1.h \
|
|
5 // RUN: -fms-extensions -o %t.pch -x c++-header %s
|
|
6
|
|
7 // Create the PCH object
|
|
8 // RUN: %clang_cc1 -verify -I %S -emit-obj -include-pch %t.pch \
|
|
9 // RUN: -pch-through-header=Inputs/pch-through1.h \
|
|
10 // RUN: -fms-extensions -o %t.obj -x c++ %s
|
|
11
|
|
12 #define Source(x,y)
|
|
13 #define InOut(size) Source(InOut, (size))
|
|
14 void f(InOut(a) char *b, unsigned long a);
|
|
15 #include "Inputs/pch-through1.h"
|
|
16 int other;
|