2 // Contributed by: Niall Douglas <s_gccbugzilla at netprod dot com>
3 // PR c++/14284: Failure to select specialization
5 template<typename> struct S;
6 template<template<class> class> struct I {};
8 template<class, int> struct Match;
10 template<template<class> class C>
11 struct Match<I<C>, 0> {};
13 template<template<class> class C, int i>
14 struct Match<I<C>, i>;