Test that we can merge together explicit and partial specializations from
merged declarations of a class template.