Mercurial > hg > CbC > CbC_llvm
annotate clang/test/PCH/pch-through4a.cpp @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children |
rev | line source |
---|---|
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; |