Test out-of-line definition of a static data member of a member class of a nested class template. Phew

llvm-svn: 80046
This commit is contained in:
Douglas Gregor 2009-08-25 22:54:02 +00:00
parent 7b6a83a84e
commit 24ebdae1e1
1 changed files with 6 additions and 0 deletions

View File

@ -46,6 +46,8 @@ void Outer<X>::Inner0<Y>::f(X, Y) {
template<typename X>
template<typename Y>
struct Outer<X>::Inner1<Y>::ReallyInner {
static Y value3;
void g(X, Y);
};
@ -81,3 +83,7 @@ X Outer<X>::Inner1<Y>::value1 = 0;
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();