[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / PCH / pch-through4.cpp
blobbdd50a9acbdb571570e3c2b9ef89b25279ddd301
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
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
10 #pragma once
11 #include "Inputs/pch-through-macro.h"
12 void f(InOut(a) char *b, unsigned long a);