Skip to content
Snippets Groups Projects
Commit 24ebdae1 authored by Douglas Gregor's avatar Douglas Gregor
Browse files

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

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

llvm-svn: 80046
parent 7b6a83a8
No related branches found
No related tags found
No related merge requests found
...@@ -46,6 +46,8 @@ void Outer<X>::Inner0<Y>::f(X, Y) { ...@@ -46,6 +46,8 @@ void Outer<X>::Inner0<Y>::f(X, Y) {
template<typename X> template<typename X>
template<typename Y> template<typename Y>
struct Outer<X>::Inner1<Y>::ReallyInner { struct Outer<X>::Inner1<Y>::ReallyInner {
static Y value3;
void g(X, Y); void g(X, Y);
}; };
...@@ -81,3 +83,7 @@ X Outer<X>::Inner1<Y>::value1 = 0; ...@@ -81,3 +83,7 @@ X Outer<X>::Inner1<Y>::value1 = 0;
template<typename X> template<typename X>
template<typename Y> template<typename Y>
Y Outer<X>::Inner1<Y>::value2 = Y(); Y Outer<X>::Inner1<Y>::value2 = Y();
template<typename X>
template<typename Y>
Y Outer<X>::Inner1<Y>::ReallyInner::value3 = Y();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment