repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge -r 127928:132243 from trunk
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr33930.C
blob
d1e6fa56b1dfae45c9bdb863c483c2f83f481782
1
// { dg-options "-std=c++0x" }
2
typedef const int* type;
3
4
float& foo( const type& ggg );
5
int& foo( type&& ggg );
6
7
void bar( int* someptr )
8
{
9
int& x = foo( someptr );
10
}