diff options
Diffstat (limited to 'test/std/language.support/support.runtime/csetjmp.pass.cpp')
-rw-r--r-- | test/std/language.support/support.runtime/csetjmp.pass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/std/language.support/support.runtime/csetjmp.pass.cpp b/test/std/language.support/support.runtime/csetjmp.pass.cpp index dc034ce099e2..f5060305608d 100644 --- a/test/std/language.support/support.runtime/csetjmp.pass.cpp +++ b/test/std/language.support/support.runtime/csetjmp.pass.cpp @@ -19,6 +19,7 @@ int main() { std::jmp_buf jb; + ((void)jb); // Prevent unused warning static_assert((std::is_same<decltype(std::longjmp(jb, 0)), void>::value), "std::is_same<decltype(std::longjmp(jb, 0)), void>::value"); } |