You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
555 B
17 lines
555 B
// expected-no-diagnostics
|
|
// Create PCH with a through header.
|
|
// RUN: %clang_cc1 -verify -I %S -emit-pch \
|
|
// RUN: -pch-through-header=Inputs/pch-through1.h \
|
|
// RUN: -fms-extensions -o %t.pch -x c++-header %s
|
|
|
|
// Create the PCH object
|
|
// RUN: %clang_cc1 -verify -I %S -emit-obj -include-pch %t.pch \
|
|
// RUN: -pch-through-header=Inputs/pch-through1.h \
|
|
// RUN: -fms-extensions -o %t.obj -x c++ %s
|
|
|
|
#define Source(x,y)
|
|
#define InOut(size) Source(InOut, (size))
|
|
void f(InOut(a) char *b, unsigned long a);
|
|
#include "Inputs/pch-through1.h"
|
|
int other;
|