blob: 04c58636d8d5a53d8eda42d49cb53af289a7f726 [file] [log] [blame]
// PR c++/81860
// { dg-do compile { target c++11 } }
// { dg-final { scan-assembler "_ZN1AIjEC\[12\]Ev" } }
template <typename T>
struct A
{
A() {}
};
struct B
{
template <typename D>
B(D, const A<unsigned>& a = A<unsigned>()) : a(a) {}
A<unsigned> a;
};
struct C : B
{
using B::B;
};
int main()
{
C c(0);
}