blob: ee4b6d4a870de4cad9bef7133e15e7c54d21b81e [file] [log] [blame]
// PR c++/89852
// { dg-do compile { target c++11 } }
struct A {
int b;
};
struct B {
A g;
};
const auto j = A{};
template <typename>
void k()
{
B{j};
}