blob: 249cce2b9e8a621686b4578c7239c9d0244cf3ea [file] [log] [blame]
// PR c++/96652
// { dg-do compile { target c++11 } }
struct A {};
template <typename T>
struct B
{
A m;
friend decltype(m);
};
A a;
B<int> b;