brintos

brintos / llvm-project-archived public Read only

0
0
Text · 274 B · 41a4ee8 Raw
16 lines · cpp
1// RUN: %clang_cc1 -triple x86_64-windows-msvc -emit-llvm -fms-compatibility %s -o -2// CHECK that we don't crash.3 4struct Base {5  void b(int, int);6};7 8template <typename Base> struct Derived : Base {9  void d() { b(1, 2); }10};11 12void use() {13  Derived<Base> d;14  d.d();15}16