PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr33930.C
blob8d9312c019bb74b41a6a491296dca3c59e9e8d0d
1 // { dg-do compile { target c++11 } }
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 );