blob: 6ac227665ef8ec70bfa37fc29f2787e52ff34749 [file] [log] [blame]
// PR c++/71822
// { dg-do compile }
int bar (int);
template <typename T>
struct A
{
explicit A (int x = bar (sizeof (T)));
};
struct B
{
A <int> b[2];
};
void
baz ()
{
B b;
}