From fc74ff5a0792641885551a63d9ddf8cbfdf76e3c Mon Sep 17 00:00:00 2001 From: dim <dim@FreeBSD.org> Date: Wed, 6 Jan 2016 20:02:26 +0000 Subject: Vendor import of clang trunk r256945: https://llvm.org/svn/llvm-project/cfe/trunk@256945 --- test/SemaTemplate/deduction.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test/SemaTemplate/deduction.cpp') diff --git a/test/SemaTemplate/deduction.cpp b/test/SemaTemplate/deduction.cpp index bf08122..6826774 100644 --- a/test/SemaTemplate/deduction.cpp +++ b/test/SemaTemplate/deduction.cpp @@ -207,3 +207,14 @@ namespace PR18645 { template<typename F> F Quux(F &&f); auto Baz = Quux(Quux<float>); } + +namespace NonDeducedNestedNameSpecifier { + template<typename T> struct A { + template<typename U> struct B { + B(int) {} + }; + }; + + template<typename T> int f(A<T>, typename A<T>::template B<T>); + int k = f(A<int>(), 0); +} -- cgit v1.1