Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/rv-bitfield3.C

raw
1 // PR c++/71576
2 // { dg-do compile { target c++11 } }
3
4 template < typename T > T && foo ();
5
6 struct A
7 {
8 int i:5;
9 };
10
11 void foo ()
12 {
13 int &&j = foo < A > ().i;
14 }