diff options
Diffstat (limited to 'test/SemaTemplate/current-instantiation.cpp')
-rw-r--r-- | test/SemaTemplate/current-instantiation.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/SemaTemplate/current-instantiation.cpp b/test/SemaTemplate/current-instantiation.cpp index 8caac93..fe7213f 100644 --- a/test/SemaTemplate/current-instantiation.cpp +++ b/test/SemaTemplate/current-instantiation.cpp @@ -199,3 +199,19 @@ namespace Expressions { typename Enable_If<Is_Same<U, Class<T> >::value, void>::type Class<T>::foo() {} } + +namespace PR9255 { + template<typename T> + class X0 { + public: + class Inner1; + + class Inner2 { + public: + void f() + { + Inner1::f.g(); + } + }; + }; +} |