llvm-project
12 строк · 460.0 Байт
1// expected-no-diagnostics
2// Create PCH with #pragma hdrstop processing.
3// RUN: %clang_cc1 -verify -I %S -emit-pch -pch-through-hdrstop-create \
4// RUN: -fms-extensions -o %t.pch -x c++-header %s
5
6// Create the PCH object
7// RUN: %clang_cc1 -verify -I %S -emit-obj -include-pch %t.pch \
8// RUN: -pch-through-hdrstop-create -fms-extensions -o %t.obj -x c++ %s
9
10#pragma once11#include "Inputs/pch-through-macro.h"12void f(InOut(a) char *b, unsigned long a);13