summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/debug-info-template-recursive.cpp
blob: ef04d03bb78fab866b43574d90b68a1b1f6b1892 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin %s -o - | FileCheck %s

class base { };

template <class T> class foo : public base  {
  void operator=(const foo r) { }
};

class bar : public foo<void> { };
bar filters;

// For now check that it simply doesn't crash.
// CHECK: {{.*}}