[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / PCH / cxx17-deduction-guide-decl.cpp
blob93ab82c0240327cdcd12924e09bdbd4db0f721c9
1 // Test with pch.
2 // RUN: %clang_cc1 -emit-pch -std=c++17 -o %t %s
3 // RUN: %clang_cc1 -include-pch %t -emit-llvm -std=c++17 -o - %s
5 #ifndef HEADER
6 #define HEADER
8 namespace RP47219 {
9 typedef int MyInt;
10 template <typename T>
11 class Some {
12 public:
13 explicit Some(T, MyInt) {}
16 struct Foo {};
17 void ParseNatural() {
18 Some(Foo(), 1);
22 #else
24 #endif