Debian Codegraph @

clang/test/Index/USR/func-template.cpp

raw
1 // RUN: c-index-test core -print-source-symbols -- %s | FileCheck %s
2
3 template<typename T>
4 struct A {
5 void f(int);
6 // CHECK: {{[0-9]+}}:8 | instance-method/C++ | f | c:@ST>1#T@A@F@f#I# |
7
8 template<typename U>
9 void f(U);
10 // CHECK: {{[0-9]+}}:8 | instance-method/C++ | f | c:@ST>1#T@A@FT@>1#Tf#t1.0#v# |
11
12 template<>
13 void f<int>(int);
14 // CHECK: {{[0-9]+}}:8 | instance-method/C++ | f | c:@ST>1#T@A@F@f<#I>#I# |
15 };