Commit f46e6332 by Rainer Orth Committed by Rainer Orth

Fix -Wreturn-type fallout in g++.dg/cpp0x/rv-trivial-bug.C on Solaris 10

	* g++.dg/cpp0x/rv-trivial-bug.C (test2): Return a value.

From-SVN: r254760
parent 1e46ecae
2017-11-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* g++.dg/cpp0x/rv-trivial-bug.C (test2): Return a value.
2017-11-15 Jakub Jelinek <jakub@redhat.com>
PR target/82981
......
......@@ -24,6 +24,7 @@ int test2()
assert(move_assign == 0);
b = static_cast<base2&&>(b2);
assert(move_assign == 1);
return 0;
}
int main()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment