repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
rv-bitfield3.C
blob
9d2d872f5325005afa50b5bf8f48f2e4aad06eb9
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
}