]> granicus.if.org Git - clang/commitdiff
Add missing part of test
authorDouglas Gregor <dgregor@apple.com>
Mon, 7 Nov 2011 18:54:12 +0000 (18:54 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 7 Nov 2011 18:54:12 +0000 (18:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143985 91177308-0d34-0410-b5e6-96231b3b80d8

test/Index/Inputs/reparse-instantiate.h [new file with mode: 0644]

diff --git a/test/Index/Inputs/reparse-instantiate.h b/test/Index/Inputs/reparse-instantiate.h
new file mode 100644 (file)
index 0000000..df90a6d
--- /dev/null
@@ -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() {}
+};