summaryrefslogtreecommitdiff
path: root/kythe/cxx/indexer/cxx/testdata/docs/docs_template_partial_spec_var.cc
blob: 4905d3b2a3fb07a12e814bd10f18567c9aa073cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// We associate template partial specialization documentation correctly.

/// Empty.
template <typename T> int S = 1;

//- @+3"/// Special." documents Abs
//- @+2"/// Special." documents Var

/// Special.
template <typename T> int S<T*> = 2;

//- Abs.node/kind abs
//- Var.node/kind variable