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