URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [initlist35.C] - Rev 301
Compare with Previous | Blame | View Log
// 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>();