From 36c49e3f258dced101949edabd72e9bc3f1dedc4 Mon Sep 17 00:00:00 2001 From: dim Date: Fri, 17 Sep 2010 15:54:40 +0000 Subject: Vendor import of clang r114020 (from the release_28 branch): http://llvm.org/svn/llvm-project/cfe/branches/release_28@114020 Approved by: rpaulo (mentor) --- test/SemaTemplate/member-template-access-expr.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'test/SemaTemplate/member-template-access-expr.cpp') diff --git a/test/SemaTemplate/member-template-access-expr.cpp b/test/SemaTemplate/member-template-access-expr.cpp index ea17cdb..dbd27c4 100644 --- a/test/SemaTemplate/member-template-access-expr.cpp +++ b/test/SemaTemplate/member-template-access-expr.cpp @@ -123,3 +123,22 @@ namespace PR6021 { }; }; } + +namespace rdar8198511 { + template + struct Base { + void f(); + }; + + template + struct X0 : Base<1, T> { }; + + template + struct X1 { + X0 x0; + + void f() { + this->x0.Base<1, int>::f(); + } + }; +} -- cgit v1.1