[cfe-commits] r80046 - /cfe/trunk/test/SemaTemplate/nested-template.cpp
Douglas Gregor
dgregor at apple.com
Tue Aug 25 15:54:03 PDT 2009
Author: dgregor
Date: Tue Aug 25 17:54:02 2009
New Revision: 80046
URL: http://llvm.org/viewvc/llvm-project?rev=80046&view=rev
Log:
Test out-of-line definition of a static data member of a member class of a nested class template. Phew
Modified:
cfe/trunk/test/SemaTemplate/nested-template.cpp
Modified: cfe/trunk/test/SemaTemplate/nested-template.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/nested-template.cpp?rev=80046&r1=80045&r2=80046&view=diff
==============================================================================
--- cfe/trunk/test/SemaTemplate/nested-template.cpp (original)
+++ cfe/trunk/test/SemaTemplate/nested-template.cpp Tue Aug 25 17:54:02 2009
@@ -46,6 +46,8 @@
template<typename X>
template<typename Y>
struct Outer<X>::Inner1<Y>::ReallyInner {
+ static Y value3;
+
void g(X, Y);
};
@@ -81,3 +83,7 @@
template<typename X>
template<typename Y>
Y Outer<X>::Inner1<Y>::value2 = Y();
+
+template<typename X>
+template<typename Y>
+Y Outer<X>::Inner1<Y>::ReallyInner::value3 = Y();
More information about the cfe-commits
mailing list