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() {}
+};
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits