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
This commit is contained in:
parent
1e46ecae35
commit
f46e633262
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
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()
|
||||
|
|
Loading…
Add table
Reference in a new issue