mirror of
https://github.com/intel/llvm.git
synced 2026-02-06 06:31:50 +08:00
Testcase for previous commit.
PR11970. llvm-svn: 150389
This commit is contained in:
13
clang/test/CodeGenCXX/debug-info-template-recursive.cpp
Normal file
13
clang/test/CodeGenCXX/debug-info-template-recursive.cpp
Normal file
@@ -0,0 +1,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: {{.*}}
|
||||
Reference in New Issue
Block a user