OSDN Git Service

PR c++/45114 - Support C++11 alias-declaration
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / overload-conv-2.C
1 // { dg-options "--std=c++0x" }
2 // { dg-do link }
3
4 struct T {};
5 struct S
6 {
7   S(T const &) {}
8 };
9
10 void f(const S&);
11 void f(S&&) {}
12
13 int main()
14 {
15   T t;
16   f(t);
17 }