mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 08:26:06 +00:00

The test ms-lookup-template-base-classes.cpp added in d972d4c749048531953a16b815e07c67e8455a3b is failing on some builtbot that don't include x86. This patch should fix that (following the patterns in the test directory).
16 lines
274 B
C++
16 lines
274 B
C++
// RUN: %clang_cc1 -triple x86_64-windows-msvc -emit-llvm -fms-compatibility %s -o -
|
|
// CHECK that we don't crash.
|
|
|
|
struct Base {
|
|
void b(int, int);
|
|
};
|
|
|
|
template <typename Base> struct Derived : Base {
|
|
void d() { b(1, 2); }
|
|
};
|
|
|
|
void use() {
|
|
Derived<Base> d;
|
|
d.d();
|
|
}
|