projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c42e1b1
)
fix to use rvalue where expected
author
Nathan Sidwell
<nathan@gcc.gnu.org>
Fri, 22 May 2015 13:22:19 +0000
(13:22 +0000)
committer
Nathan Sidwell
<nathan@gcc.gnu.org>
Fri, 22 May 2015 13:22:19 +0000
(13:22 +0000)
From-SVN: r223571
gcc/testsuite/g++.dg/cpp1y/pr60943.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/cpp1y/pr60943.C
b/gcc/testsuite/g++.dg/cpp1y/pr60943.C
index 43857af9a227a28c09672ab26482d30a4f55c223..f6d1f2502b3b83977bdda8aa2edf237570de928e 100644
(file)
--- a/
gcc/testsuite/g++.dg/cpp1y/pr60943.C
+++ b/
gcc/testsuite/g++.dg/cpp1y/pr60943.C
@@
-10,7
+10,7
@@
void Foo (A &a)
a.f();
}
-void Bar (
A &&a
)
+void Bar ()
{
-
a
.f ();
+
A{}
.f ();
}