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

@ -18,7 +18,7 @@ struct NoExceptClass {
NoExceptClass(const NoExceptClass&) noexcept {}
NoExceptClass(NoExceptClass&&) noexcept {}
NoExceptClass& operator=(const NoExceptClass&) noexcept { return *this; }
~NoExceptClass() noexcept {}
virtual ~NoExceptClass() noexcept {}
void noex0() noexcept {}
void noex1() noexcept(sizeof(int) == 4) {}