diff options
Diffstat (limited to 'clang/test/Index/Inputs/reparse-instantiate.h')
-rw-r--r-- | clang/test/Index/Inputs/reparse-instantiate.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/clang/test/Index/Inputs/reparse-instantiate.h b/clang/test/Index/Inputs/reparse-instantiate.h new file mode 100644 index 0000000..df90a6d --- /dev/null +++ b/clang/test/Index/Inputs/reparse-instantiate.h @@ -0,0 +1,14 @@ +template <typename T> struct S; + +template<typename T> void c(T) +{ +} + +template <> struct S <int> +{ + void a() + { + c(&S<int>::b); + } + void b() {} +}; |