1f4a2713aSLionel Sambuc // Test is line- and column-sensitive. See run lines below.
2f4a2713aSLionel Sambuc
3f4a2713aSLionel Sambuc template<typename T, T Value, template<typename U, U ValU> class X>
4f4a2713aSLionel Sambuc void f(X<T, Value> x);
5f4a2713aSLionel Sambuc
6f4a2713aSLionel Sambuc template<typename T> class allocator;
7f4a2713aSLionel Sambuc
8f4a2713aSLionel Sambuc template<typename T, typename Alloc = allocator<T> >
9f4a2713aSLionel Sambuc class vector {
10f4a2713aSLionel Sambuc void clear();
11f4a2713aSLionel Sambuc };
12f4a2713aSLionel Sambuc
13f4a2713aSLionel Sambuc template<typename T>
14f4a2713aSLionel Sambuc class vector<T*> { };
15f4a2713aSLionel Sambuc
16f4a2713aSLionel Sambuc struct Z1 { };
17f4a2713aSLionel Sambuc
18f4a2713aSLionel Sambuc template class vector<Z1>;
19f4a2713aSLionel Sambuc
20f4a2713aSLionel Sambuc struct Z2 { };
21f4a2713aSLionel Sambuc
22f4a2713aSLionel Sambuc template<>
23f4a2713aSLionel Sambuc class vector<Z2> {
24f4a2713aSLionel Sambuc void clear();
25f4a2713aSLionel Sambuc };
26f4a2713aSLionel Sambuc
27f4a2713aSLionel Sambuc template<typename T, typename U>
28f4a2713aSLionel Sambuc struct Y {
29f4a2713aSLionel Sambuc using typename T::type;
30f4a2713aSLionel Sambuc using U::operator Z2;
31f4a2713aSLionel Sambuc };
32f4a2713aSLionel Sambuc
33f4a2713aSLionel Sambuc struct Z3 { };
34f4a2713aSLionel Sambuc
35f4a2713aSLionel Sambuc const unsigned OneDimension = 1;
36f4a2713aSLionel Sambuc template<typename T, unsigned Dimensions = OneDimension>
37f4a2713aSLionel Sambuc struct array { };
38f4a2713aSLionel Sambuc
39f4a2713aSLionel Sambuc template<template<typename, unsigned> class DataStructure = array>
40f4a2713aSLionel Sambuc struct storage { };
41f4a2713aSLionel Sambuc
42f4a2713aSLionel Sambuc typedef unsigned Unsigned;
43f4a2713aSLionel Sambuc
44f4a2713aSLionel Sambuc template<typename T, Unsigned Value>
45f4a2713aSLionel Sambuc struct value_c;
46f4a2713aSLionel Sambuc
47f4a2713aSLionel Sambuc template class vector<int*>;
48f4a2713aSLionel Sambuc
49f4a2713aSLionel Sambuc struct Z4 {
50f4a2713aSLionel Sambuc template<typename T> T getAs();
51f4a2713aSLionel Sambuc };
52f4a2713aSLionel Sambuc
template_exprs()53f4a2713aSLionel Sambuc void template_exprs() {
54f4a2713aSLionel Sambuc f<Unsigned, OneDimension, array>(array<Unsigned, OneDimension>());
55f4a2713aSLionel Sambuc Z4().getAs<Unsigned>();
56f4a2713aSLionel Sambuc }
57f4a2713aSLionel Sambuc
58f4a2713aSLionel Sambuc template<typename T> void swap(T&, T&);
59f4a2713aSLionel Sambuc template<typename T, typename U> void swap(Y<T, U>&, Y<T, U>&);
60f4a2713aSLionel Sambuc void swap(Z4&, Z4&);
61f4a2713aSLionel Sambuc
62f4a2713aSLionel Sambuc struct Z5 {
63f4a2713aSLionel Sambuc int f(int);
64f4a2713aSLionel Sambuc float f(float);
65f4a2713aSLionel Sambuc };
66f4a2713aSLionel Sambuc
67f4a2713aSLionel Sambuc template<typename T>
unresolved_exprs(T & x)68f4a2713aSLionel Sambuc void unresolved_exprs(T &x) {
69f4a2713aSLionel Sambuc swap(x, x);
70f4a2713aSLionel Sambuc Z5 z5;
71f4a2713aSLionel Sambuc z5.f(x);
72f4a2713aSLionel Sambuc swap<T>(x, x);
73f4a2713aSLionel Sambuc }
74f4a2713aSLionel Sambuc
75f4a2713aSLionel Sambuc template<typename T, typename U>
76f4a2713aSLionel Sambuc struct Pair {
77f4a2713aSLionel Sambuc T first;
78f4a2713aSLionel Sambuc U second;
79f4a2713aSLionel Sambuc };
80f4a2713aSLionel Sambuc
81f4a2713aSLionel Sambuc template<typename T, typename U>
init_list(T t,U u)82f4a2713aSLionel Sambuc void init_list(T t, U u) {
83f4a2713aSLionel Sambuc typedef U second_type;
84f4a2713aSLionel Sambuc
85f4a2713aSLionel Sambuc Pair<T, U> p = { t, second_type(u) };
86f4a2713aSLionel Sambuc }
87f4a2713aSLionel Sambuc
88f4a2713aSLionel Sambuc template<typename T>
89f4a2713aSLionel Sambuc struct compare { };
90f4a2713aSLionel Sambuc
91f4a2713aSLionel Sambuc template<typename Key, typename Value,
92f4a2713aSLionel Sambuc typename Comparison = compare<Pair<Key, Value> >,
93f4a2713aSLionel Sambuc typename Allocator = allocator<Pair<Key, Value> > >
94f4a2713aSLionel Sambuc struct map;
95f4a2713aSLionel Sambuc
96f4a2713aSLionel Sambuc void f(map<Z4, Pair<int, Z4> >);
97f4a2713aSLionel Sambuc
98f4a2713aSLionel Sambuc template class Pair<int, int>;
99f4a2713aSLionel Sambuc
100f4a2713aSLionel Sambuc template<typename T, typename U>
101f4a2713aSLionel Sambuc struct SuperPair : Pair<int, int>, Pair<T, U> { };
102f4a2713aSLionel Sambuc
103*0a6a1f1dSLionel Sambuc enum FxnTmplEnum {
104*0a6a1f1dSLionel Sambuc FxnTmplEnum_A, FxnTmplEnum_B, FxnTmplEnum_C,
105*0a6a1f1dSLionel Sambuc };
106*0a6a1f1dSLionel Sambuc template <typename T, int I, FxnTmplEnum, int E>
foo(T Value)107*0a6a1f1dSLionel Sambuc void foo(T Value) {}
108*0a6a1f1dSLionel Sambuc
109*0a6a1f1dSLionel Sambuc static const int FxnTmpl_Var = 7;
110*0a6a1f1dSLionel Sambuc template <>
111*0a6a1f1dSLionel Sambuc void foo<float, 9, FxnTmplEnum_B, FxnTmpl_Var + 7>(float Value);
112*0a6a1f1dSLionel Sambuc
113f4a2713aSLionel Sambuc // RUN: c-index-test -test-load-source all -fno-delayed-template-parsing %s | FileCheck -check-prefix=CHECK-LOAD %s
114f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:4:6: FunctionTemplate=f:4:6 Extent=[3:1 - 4:22]
115f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:3:19: TemplateTypeParameter=T:3:19 (Definition) Extent=[3:10 - 3:20]
116f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:3:24: NonTypeTemplateParameter=Value:3:24 (Definition) Extent=[3:22 - 3:29]
117f4a2713aSLionel Sambuc // FIXME: Need the template type parameter here
118f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:3:66: TemplateTemplateParameter=X:3:66 (Definition) Extent=[3:31 - 3:67]
119f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:4:20: ParmDecl=x:4:20 (Definition) Extent=[4:8 - 4:21]
120f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:4:8: TemplateRef=X:3:66 Extent=[4:8 - 4:9]
121f4a2713aSLionel Sambuc // FIXME: Need the template type parameter here
122f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:4:13: DeclRefExpr=Value:3:24 Extent=[4:13 - 4:18]
123f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:6:28: ClassTemplate=allocator:6:28 Extent=[6:1 - 6:37]
124f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:6:19: TemplateTypeParameter=T:6:19 (Definition) Extent=[6:10 - 6:20]
125f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:9:7: ClassTemplate=vector:9:7 (Definition) Extent=[8:1 - 11:2]
126f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:8:19: TemplateTypeParameter=T:8:19 (Definition) Extent=[8:10 - 8:20]
127f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:8:31: TemplateTypeParameter=Alloc:8:31 (Definition) Extent=[8:22 - 8:51]
128f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:8:39: TemplateRef=allocator:6:28 Extent=[8:39 - 8:48]
129f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:10:8: CXXMethod=clear:10:8 Extent=[10:3 - 10:15]
130f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:14:7: ClassTemplatePartialSpecialization=vector:14:7 (Definition) [Specialization of vector:9:7] Extent=[13:1 - 14:21]
131f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:13:19: TemplateTypeParameter=T:13:19 (Definition) Extent=[13:10 - 13:20]
132f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:16:8: StructDecl=Z1:16:8 (Definition) Extent=[16:1 - 16:14]
133f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:18:16: ClassDecl=vector:18:16 (Definition) [Specialization of vector:9:7] Extent=[18:1 - 18:26]
134f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:18:23: TypeRef=struct Z1:16:8 Extent=[18:23 - 18:25]
135f4a2713aSLionel Sambuc // CHECK-LOAD-NOT: CXXMethod=clear
136f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:20:8: StructDecl=Z2:20:8 (Definition) Extent=[20:1 - 20:14]
137f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:23:7: ClassDecl=vector:23:7 (Definition) [Specialization of vector:9:7] Extent=[22:1 - 25:2]
138f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:23:14: TypeRef=struct Z2:20:8 Extent=[23:14 - 23:16]
139f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:24:8: CXXMethod=clear:24:8 Extent=[24:3 - 24:15]
140f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:28:8: ClassTemplate=Y:28:8 (Definition) Extent=[27:1 - 31:2]
141f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:27:19: TemplateTypeParameter=T:27:19 (Definition) Extent=[27:10 - 27:20]
142f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:27:31: TemplateTypeParameter=U:27:31 (Definition) Extent=[27:22 - 27:32]
143f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:29:21: UsingDeclaration=type:29:21 Extent=[29:3 - 29:25]
144f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:30:12: UsingDeclaration=operator Z2:30:12 Extent=[30:3 - 30:23]
145f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:30:21: TypeRef=struct Z2:20:8 Extent=[30:21 - 30:23]
146f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:35:16: VarDecl=OneDimension:35:16 (Definition) Extent=[35:1 - 35:32]
147f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:35:31: UnexposedExpr= Extent=[35:31 - 35:32]
148f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:35:31: IntegerLiteral= Extent=[35:31 - 35:32]
149f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:37:8: ClassTemplate=array:37:8 (Definition) Extent=[36:1 - 37:17]
150f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:36:19: TemplateTypeParameter=T:36:19 (Definition) Extent=[36:10 - 36:20]
151f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:36:31: NonTypeTemplateParameter=Dimensions:36:31 (Definition) Extent=[36:22 - 36:56]
152f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:36:44: DeclRefExpr=OneDimension:35:16 Extent=[36:44 - 36:56]
153f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:40:8: ClassTemplate=storage:40:8 (Definition) Extent=[39:1 - 40:19]
154f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:39:45: TemplateTemplateParameter=DataStructure:39:45 (Definition) Extent=[39:10 - 39:66]
155f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:39:19: TemplateTypeParameter=:39:19 (Definition) Extent=[39:19 - 39:27]
156*0a6a1f1dSLionel Sambuc // CHECK-LOAD: index-templates.cpp:39:37: NonTypeTemplateParameter=:39:37 (Definition) Extent=[39:29 - 39:37]
157f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:39:61: TemplateRef=array:37:8 Extent=[39:61 - 39:66]
158f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:42:18: TypedefDecl=Unsigned:42:18 (Definition) Extent=[42:1 - 42:26]
159f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:45:8: ClassTemplate=value_c:45:8 Extent=[44:1 - 45:15]
160f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:44:19: TemplateTypeParameter=T:44:19 (Definition) Extent=[44:10 - 44:20]
161f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:44:31: NonTypeTemplateParameter=Value:44:31 (Definition) Extent=[44:22 - 44:36]
162f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:44:22: TypeRef=Unsigned:42:18 Extent=[44:22 - 44:30]
163f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:47:16: ClassDecl=vector:47:16 (Definition) [Specialization of vector:14:7] Extent=[47:1 - 47:28]
164f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:49:8: StructDecl=Z4:49:8 (Definition) Extent=[49:1 - 51:2]
165f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:50:26: FunctionTemplate=getAs:50:26 Extent=[50:3 - 50:33]
166f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:50:21: TemplateTypeParameter=T:50:21 (Definition) Extent=[50:12 - 50:22]
167f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:53:6: FunctionDecl=template_exprs:53:6 (Definition)
168f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:54:3: CallExpr=f:4:6 Extent=[54:3 - 54:68]
169f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:54:3: UnexposedExpr=f:4:6 Extent=[54:3 - 54:35]
170f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:54:3: DeclRefExpr=f:4:6 RefName=[54:3 - 54:4] RefName=[54:4 - 54:35] Extent=[54:3 - 54:35]
171f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:54:5: TypeRef=Unsigned:42:18 Extent=[54:5 - 54:13]
172f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:54:15: DeclRefExpr=OneDimension:35:16 Extent=[54:15 - 54:27]
173f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:54:29: TemplateRef=array:37:8 Extent=[54:29 - 54:34]
174f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:55:8: MemberRefExpr=getAs:50:26 SingleRefName=[55:8 - 55:13] RefName=[55:8 - 55:13] Extent=[55:3 - 55:23]
175f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:55:3: CallExpr=Z4:49:8 Extent=[55:3 - 55:7]
176f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:55:14: TypeRef=Unsigned:42:18 Extent=[55:14 - 55:22]
177f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:68:6: FunctionTemplate=unresolved_exprs:68:6 (Definition)
178f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:69:3: OverloadedDeclRef=swap[60:6, 59:39, 58:27]
179f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:71:6: OverloadedDeclRef=f[63:7, 64:9]
180f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:72:3: OverloadedDeclRef=swap[58:27, 59:39]
181f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:82:6: FunctionTemplate=init_list:82:6 (Definition)
182f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:85:14: VarDecl=p:85:14 (Definition)
183f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:85:20: DeclRefExpr=t:82:18 Extent=[85:20 - 85:21]
184f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:85:23: TypeRef=second_type:83:13 Extent=[85:23 - 85:34]
185f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:85:35: DeclRefExpr=u:82:23 Extent=[85:35 - 85:36]
186f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:101:8: ClassTemplate=SuperPair:101:8 (Definition) Extent=[100:1 - 101:50]
187f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:100:19: TemplateTypeParameter=T:100:19 (Definition) Extent=[100:10 - 100:20]
188f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:100:31: TemplateTypeParameter=U:100:31 (Definition) Extent=[100:22 - 100:32]
189f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:101:20: C++ base class specifier=Pair<int, int>:98:16 [access=public isVirtual=false] Extent=[101:20 - 101:34]
190f4a2713aSLionel Sambuc // CHECK-LOAD: index-templates.cpp:101:36: C++ base class specifier=Pair<T, U>:76:8 [access=public isVirtual=false] Extent=[101:36 - 101:46]
191*0a6a1f1dSLionel Sambuc // CHECK-LOAD: index-templates.cpp:111:6: FunctionDecl=foo:111:6 [Specialization of foo:107:6] [Template arg 0: kind: 1, type: float] [Template arg 1: kind: 4, intval: 9] [Template arg 2: kind: 4, intval: 1] [Template arg 3: kind: 4, intval: 14] Extent=[110:1 - 111:64]
192f4a2713aSLionel Sambuc
193f4a2713aSLionel Sambuc // RUN: c-index-test -test-load-source-usrs all -fno-delayed-template-parsing %s | FileCheck -check-prefix=CHECK-USRS %s
194*0a6a1f1dSLionel Sambuc // CHECK-USRS: index-templates.cpp c:@FT@>3#T#Nt0.0#t>2#T#Nt1.0f#>t0.22S0_#v# Extent=[3:1 - 4:22]
195f4a2713aSLionel Sambuc // CHECK-USRS: index-templates.cpp c:index-templates.cpp@70 Extent=[3:10 - 3:20]
196f4a2713aSLionel Sambuc // CHECK-USRS: index-templates.cpp c:index-templates.cpp@82 Extent=[3:22 - 3:29]
197f4a2713aSLionel Sambuc // CHECK-USRS: index-templates.cpp c:index-templates.cpp@91 Extent=[3:31 - 3:67]
198*0a6a1f1dSLionel Sambuc // CHECK-USRS: index-templates.cpp c:index-templates.cpp@136@FT@>3#T#Nt0.0#t>2#T#Nt1.0f#>t0.22S0_#v#@x Extent=[4:8 - 4:21]
199*0a6a1f1dSLionel Sambuc // CHECK-USRS: index-templates.cpp c:@ST>1#T@allocator Extent=[6:1 - 6:37]
200f4a2713aSLionel Sambuc // CHECK-USRS: index-templates.cpp c:index-templates.cpp@162 Extent=[6:10 - 6:20]
201*0a6a1f1dSLionel Sambuc // CHECK-USRS: index-templates.cpp c:@ST>2#T#T@vector Extent=[8:1 - 11:2]
202f4a2713aSLionel Sambuc // CHECK-USRS: index-templates.cpp c:index-templates.cpp@201 Extent=[8:10 - 8:20]
203f4a2713aSLionel Sambuc // CHECK-USRS: index-templates.cpp c:index-templates.cpp@213 Extent=[8:22 - 8:51]
204*0a6a1f1dSLionel Sambuc // CHECK-USRS: index-templates.cpp c:@ST>2#T#T@vector@F@clear# Extent=[10:3 - 10:15]
205*0a6a1f1dSLionel Sambuc // CHECK-USRS: index-templates.cpp c:@SP>1#T@vector>#*t0.0#>@ST>1#T@allocator1S0_ Extent=[13:1 - 14:21]
206f4a2713aSLionel Sambuc // CHECK-USRS: index-templates.cpp c:index-templates.cpp@289 Extent=[13:10 - 13:20]
207f4a2713aSLionel Sambuc // CHECK-USRS: index-templates.cpp c:@S@Z1 Extent=[16:1 - 16:14]
208*0a6a1f1dSLionel Sambuc // CHECK-USRS: index-templates.cpp c:@S@vector>#$@S@Z1#$@S@allocator>#S0_ Extent=[18:1 - 18:26]
209f4a2713aSLionel Sambuc // CHECK-USRS: index-templates.cpp c:@S@Z2 Extent=[20:1 - 20:14]
210*0a6a1f1dSLionel Sambuc // CHECK-USRS: index-templates.cpp c:@S@vector>#$@S@Z2#$@S@allocator>#S0_ Extent=[22:1 - 25:2]
211*0a6a1f1dSLionel Sambuc // CHECK-USRS: index-templates.cpp c:@S@vector>#$@S@Z2#$@S@allocator>#S0_@F@clear# Extent=[24:3 - 24:15]
212f4a2713aSLionel Sambuc // CHECK-USRS: index-templates.cpp c:@ST>2#T#T@Y Extent=[27:1 - 31:2]
213f4a2713aSLionel Sambuc // CHECK-USRS: index-templates.cpp c:index-templates.cpp@443 Extent=[27:10 - 27:20]
214f4a2713aSLionel Sambuc // CHECK-USRS: index-templates.cpp c:index-templates.cpp@455 Extent=[27:22 - 27:32]
215f4a2713aSLionel Sambuc // CHECK-USRS-NOT: type
216f4a2713aSLionel Sambuc // CHECK-USRS: index-templates.cpp c:@S@Z3 Extent=[33:1 - 33:14]
217*0a6a1f1dSLionel Sambuc // CHECK-USRS: index-templates.cpp c:@F@f#$@S@map>#$@S@Z4#$@S@Pair>#I#S1_#$@S@compare>#$@S@Pair>#S1_#S2_#$@S@allocator>#S4_#
218