[cfe-commits] r143985 - /cfe/trunk/test/Index/Inputs/reparse-instantiate.h

Douglas Gregor dgregor at apple.com
Mon Nov 7 10:54:12 PST 2011


Author: dgregor
Date: Mon Nov  7 12:54:12 2011
New Revision: 143985

URL: http://llvm.org/viewvc/llvm-project?rev=143985&view=rev
Log:
Add missing part of test

Added:
    cfe/trunk/test/Index/Inputs/reparse-instantiate.h

Added: cfe/trunk/test/Index/Inputs/reparse-instantiate.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/Inputs/reparse-instantiate.h?rev=143985&view=auto
==============================================================================
--- cfe/trunk/test/Index/Inputs/reparse-instantiate.h (added)
+++ cfe/trunk/test/Index/Inputs/reparse-instantiate.h Mon Nov  7 12:54:12 2011
@@ -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() {}
+};





More information about the cfe-commits mailing list