Fix c++ compiler warnings in c++11 testcases

This commit is contained in:
William S Fulton 2017-06-03 17:15:44 +01:00
commit be63f73e33
6 changed files with 31 additions and 10 deletions

View file

@ -13,6 +13,7 @@ struct SomeStruct {
auto addAlternateMemberPtrConstParm(int x, int (SomeStruct::*mp)(int, int) const) const -> int;
virtual auto addFinal(int x, int y) const noexcept -> int final { return x + y; }
virtual ~SomeStruct() = default;
};
int SomeStruct::addNormal(int x, int y) { return x + y; }