xref: /minix3/external/bsd/llvm/dist/clang/test/Index/Inputs/reparse-instantiate.h (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc template <typename T> struct S;
2*f4a2713aSLionel Sambuc 
c(T)3*f4a2713aSLionel Sambuc template<typename T> void c(T)
4*f4a2713aSLionel Sambuc {
5*f4a2713aSLionel Sambuc }
6*f4a2713aSLionel Sambuc 
7*f4a2713aSLionel Sambuc template <> struct S <int>
8*f4a2713aSLionel Sambuc {
9*f4a2713aSLionel Sambuc   void a()
10*f4a2713aSLionel Sambuc   {
11*f4a2713aSLionel Sambuc     c(&S<int>::b);
12*f4a2713aSLionel Sambuc   }
13*f4a2713aSLionel Sambuc   void b() {}
14*f4a2713aSLionel Sambuc };
15