From 17a23e40aae0428cb5d0c599692c68599b0c64fc Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Wed, 12 Nov 2014 23:43:08 +0000 Subject: [PATCH] Add another testcase. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221833 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/SemaTemplate/deduction.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/SemaTemplate/deduction.cpp b/test/SemaTemplate/deduction.cpp index c2abf262d6..d33164b45c 100644 --- a/test/SemaTemplate/deduction.cpp +++ b/test/SemaTemplate/deduction.cpp @@ -191,4 +191,13 @@ namespace PR19372 { using U = BindBack::apply; using U = Z; + + namespace BetterReduction { + template struct S; + template using X = S; + template using Y = X; + + using T = Y; + using T = S; + } } -- 2.40.0