1 // { dg-options "--std=c++0x" } 2 // { dg-do link } 3 4 struct T {}; 5 struct S 6 { SS7 S(T const &) {} 8 }; 9 10 void f(const S&); f(S &&)11 void f(S&&) {} 12 main()13 int main() 14 { 15 T t; 16 f(t); 17 } 18