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