blob: 006bd8c40eb35566e2057594536066a7174a79d5 [file] [log] [blame]
// PR c++/56947
struct A
{
A (int);
};
template < typename >
void Fn ()
{
const int kCapacity = 0;
struct Q:A
{
Q ():A (kCapacity) { }
};
Q q;
}
template void Fn < int >();