blob: e5b7cb4bd52003d3a5f26d2af3771c4336d324f9 [file] [log] [blame]
// PR c++/41510
// { dg-options "-std=c++0x" }
struct B
{
B(int, int);
};
struct A
{
A(int, int);
A(const B&);
};
void f()
{
A a = { 1, 2 };
};
template <class T> void g()
{
A a = { 1, 2 };
};
template void g<int>();