OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/51553
[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
}