Author: rsmith
Date: Wed Nov 12 17:43:08 2014
New Revision: 221833
URL: http://llvm.org/viewvc/llvm-project?rev=221833&view=rev
Log:
Add another testcase.
Modified:
cfe/trunk/test/SemaTemplate/deduction.cpp
Modified: cfe/trunk/test/SemaTemplate/deduction.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/deduction.cpp?rev=221833&r1=221832&r2=221833&view=diff
==============================================================================
--- cfe/trunk/test/SemaTemplate/deduction.cpp (original)
+++ cfe/trunk/test/SemaTemplate/deduction.cpp Wed Nov 12 17:43:08 2014
@@ -191,4 +191,13 @@ namespace PR19372 {
using U = BindBack<Z, int, int>::apply<char>;
using U = Z<char, int, int>;
+
+ namespace BetterReduction {
+ template<typename ...> struct S;
+ template<typename ...A> using X = S<A...>;
+ template<typename ...A> using Y = X<A..., A...>;
+
+ using T = Y<int>;
+ using T = S<int, int>;
+ }
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits