[cfe-commits] r93872 - /cfe/trunk/test/SemaTemplate/dependent-base-member-init.cpp
Douglas Gregor
dgregor at apple.com
Mon Jan 18 22:47:24 PST 2010
Author: dgregor
Date: Tue Jan 19 00:47:24 2010
New Revision: 93872
URL: http://llvm.org/viewvc/llvm-project?rev=93872&view=rev
Log:
Another test case for PR6062
Modified:
cfe/trunk/test/SemaTemplate/dependent-base-member-init.cpp
Modified: cfe/trunk/test/SemaTemplate/dependent-base-member-init.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/dependent-base-member-init.cpp?rev=93872&r1=93871&r2=93872&view=diff
==============================================================================
--- cfe/trunk/test/SemaTemplate/dependent-base-member-init.cpp (original)
+++ cfe/trunk/test/SemaTemplate/dependent-base-member-init.cpp Tue Jan 19 00:47:24 2010
@@ -52,3 +52,8 @@
A(U& init) : U::other_type(init) { }
};
}
+
+template<typename T, typename U>
+struct X0 : T::template apply<U> {
+ X0(int i) : T::template apply<U>(i) { }
+};
More information about the cfe-commits
mailing list