Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
rv-bitfield3.C
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
;
}