[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / InterfaceStubs / usings.cpp
blob949477099a7c37ba5fd22cd0465c96cc629bd35e
1 // RUN: %clang_cc1 -o - -emit-interface-stubs %s | FileCheck %s
3 // CHECK: --- !ifs-v1
4 // CHECK-NEXT: IfsVersion: 3.0
5 // CHECK-NEXT: Target:
6 // CHECK-NEXT: Symbols:
7 // CHECK-NEXT: ...
9 template<typename T> struct S2 { static unsigned f(); };
10 template<typename T> struct S3 { using S2<T>::f; };
12 typedef struct {} S4;
13 using ::S4;
15 template<typename T, T t> struct C3{};
16 template<bool b> using U1 = C3<bool, b>;