diff --git a/clang/test/Index/Inputs/reparse-instantiate.h b/clang/test/Index/Inputs/reparse-instantiate.h new file mode 100644 index 000000000000..df90a6dd4823 --- /dev/null +++ b/clang/test/Index/Inputs/reparse-instantiate.h @@ -0,0 +1,14 @@ +template struct S; + +template void c(T) +{ +} + +template <> struct S +{ + void a() + { + c(&S::b); + } + void b() {} +};