brintos

brintos / llvm-project-archived public Read only

0
0
Text · 555 B · c13edf5 Raw
17 lines · cpp
1// expected-no-diagnostics2// 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 %s6 7// Create the PCH object8// 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++ %s11 12#define Source(x,y)13#define InOut(size) Source(InOut, (size))14void f(InOut(a) char *b, unsigned long a);15#include "Inputs/pch-through1.h"16int other;17