Fix c++ compiler warnings in c++11 testcases
This commit is contained in:
parent
57a89f987d
commit
be63f73e33
6 changed files with 31 additions and 10 deletions
|
|
@ -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) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue