RISC-V: Do not inline when callee is versioned but caller is not
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr57172.C
blob2108838136017c9fc49af1e6df88a3bcaee9d947
1 // PR c++/57172
2 // { dg-do compile { target c++11 } }
4 template <typename T> int f (T&) { return 0; }
5 template <typename T> int f (T&&) = delete;
6 int i;
7 int j = f (i);