xref: /llvm-project/clang/test/CodeGenCXX/debug-info-template-recursive.cpp (revision 3459ce2e5ebbabb8d4dde3809da50dc89e1b0b35)
1*3459ce2eSDouglas Katzman // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -triple x86_64-apple-darwin %s -o - | FileCheck %s
2d752e3d2SEric Christopher 
3d752e3d2SEric Christopher class base { };
4d752e3d2SEric Christopher 
5d752e3d2SEric Christopher template <class T> class foo : public base  {
operator =(const foo r)6d752e3d2SEric Christopher   void operator=(const foo r) { }
7d752e3d2SEric Christopher };
8d752e3d2SEric Christopher 
9d752e3d2SEric Christopher class bar : public foo<void> { };
10d752e3d2SEric Christopher bar filters;
11d752e3d2SEric Christopher 
12d752e3d2SEric Christopher // For now check that it simply doesn't crash.
13d752e3d2SEric Christopher // CHECK: {{.*}}
14