diff options
Diffstat (limited to 'test/SemaCXX/nested-name-spec-locations.cpp')
-rw-r--r-- | test/SemaCXX/nested-name-spec-locations.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/SemaCXX/nested-name-spec-locations.cpp b/test/SemaCXX/nested-name-spec-locations.cpp index 85ebd90288..25914df627 100644 --- a/test/SemaCXX/nested-name-spec-locations.cpp +++ b/test/SemaCXX/nested-name-spec-locations.cpp @@ -61,3 +61,10 @@ void PseudoDestructorExprCheck( PseudoDestructorExprTester<HasInnerTemplate, float> tester) { tester.f(0); // expected-note{{in instantiation of member function}} } + +template<typename T> +struct DependentScopedDeclRefExpr { + void f() { + outer_alias::inner::X0<T>::value = 17; + } +}; |