1// PR c++/49812 2// The call should choose the second f because i++ is an int rvalue. 3 4template <class T> void f(const volatile T& t) { t.i; } 5template <class T> void f(const T&); 6 7int main() 8{ 9 volatile int i = 0; 10 f(i++); 11} 12