Merge -r 127928:132243 from trunk
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr33930.C
blobd1e6fa56b1dfae45c9bdb863c483c2f83f481782
1 // { dg-options "-std=c++0x" }
2 typedef const int* type;
4 float& foo( const type& ggg );
5 int& foo( type&& ggg );
7 void bar( int* someptr )
9   int& x = foo( someptr );