blob: d4d70f1dcf640f0a1183e20880d088ec8ecf6ffe [file] [log] [blame]
// { dg-do link }
// Origin: James McKelvey <mckelvey@fafnir.com>
class A
{
public:
template <class T> A(T x, bool y = false);
};
template <class T> A::A(T, bool)
{
}
template <> A::A(char, bool)
{
}
int main()
{
int b;
char c;
A x(b);
A y(c);
A z(c, false);
}