Clang Project

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