diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:47:26 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:47:26 +0000 |
commit | 51072bd6bf79ef2bc6a922079bff57c31c1effbc (patch) | |
tree | 91a2effbc9e6f80bdbbf9eb70e06c51ad0867ea0 /test/std/language.support/support.runtime/csetjmp.pass.cpp | |
parent | bb5e33f003797b67974a8893f7f2930fc51b8210 (diff) | |
download | src-test2-51072bd6bf79ef2bc6a922079bff57c31c1effbc.tar.gz src-test2-51072bd6bf79ef2bc6a922079bff57c31c1effbc.zip |
Notes
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"); } |