brintos

brintos / llvm-project-archived public Read only

0
0
Text · 431 B · c9c82f5 Raw
16 lines · cpp
1// RUN: c-index-test core -print-source-symbols -- %s | FileCheck %s2 3template<typename T>4struct 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};16