diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-11-07 18:54:12 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-11-07 18:54:12 +0000 |
commit | 21adcf3b5f4c748fbda7f276f75a33121cee6df1 (patch) | |
tree | ead2ee51af377115b7e9835f8548cf5f1aa60815 | |
parent | 66e870029fdc1a36e79e62fd64430b527a318868 (diff) |
Add missing part of test
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143985 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Index/Inputs/reparse-instantiate.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Index/Inputs/reparse-instantiate.h b/test/Index/Inputs/reparse-instantiate.h new file mode 100644 index 0000000000..df90a6dd48 --- /dev/null +++ b/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() {} +}; |