aboutsummaryrefslogtreecommitdiff
path: root/test/Index/Core/no-templated-canonical-decl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Index/Core/no-templated-canonical-decl.cpp')
-rw-r--r--test/Index/Core/no-templated-canonical-decl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Index/Core/no-templated-canonical-decl.cpp b/test/Index/Core/no-templated-canonical-decl.cpp
new file mode 100644
index 000000000000..5434e9cb6515
--- /dev/null
+++ b/test/Index/Core/no-templated-canonical-decl.cpp
@@ -0,0 +1,4 @@
+// RUN: c-index-test core -print-source-symbols -include-locals -- %s | FileCheck %s
+
+template <template <typename> class A> class B { typedef A<int> A_int; };
+// CHECK: [[@LINE-1]]:46 | class(Gen)/C++ | B | c:@ST>1#t>1#T@B | <no-cgname> | Def | rel: 0