[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGenCXX / ms-lookup-template-base-classes.cpp
blob41a4ee8b5bb8f9a56d4b3b0cfefd171bb8b7be74
1 // RUN: %clang_cc1 -triple x86_64-windows-msvc -emit-llvm -fms-compatibility %s -o -
2 // CHECK that we don't crash.
4 struct Base {
5 void b(int, int);
6 };
8 template <typename Base> struct Derived : Base {
9 void d() { b(1, 2); }
12 void use() {
13 Derived<Base> d;
14 d.d();