Fix a thinko in a helper routine for template argument deduction that
commit96a0ebf4f7c6473ea9d4a55ee2638a871ad7dc03
authorDouglas Gregor <doug.gregor@gmail.com>
Fri, 24 Dec 2010 00:35:52 +0000 (24 00:35 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Fri, 24 Dec 2010 00:35:52 +0000 (24 00:35 +0000)
treef0bf6c313a11d81f3fd520e730487e758cf792a3
parentc87c396856c302019b07ab376002b01ab954fabf
Fix a thinko in a helper routine for template argument deduction that
caused an assertion when dealing with non-type template parameter
packs. Add some tests for deduction and instantiation of non-type
template parameter packs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122534 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateDeduction.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p9-0x.cpp