blob: 9d2d872f5325005afa50b5bf8f48f2e4aad06eb9 [file] [log] [blame]
// PR c++/71576
// { dg-do compile { target c++11 } }
template < typename T > T && foo ();
struct A
{
int i:5;
};
void foo ()
{
int &&j = foo < A > ().i;
}