diff options
Diffstat (limited to 'libcxx/test/language.support/support.runtime/csetjmp.pass.cpp')
-rw-r--r-- | libcxx/test/language.support/support.runtime/csetjmp.pass.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/libcxx/test/language.support/support.runtime/csetjmp.pass.cpp b/libcxx/test/language.support/support.runtime/csetjmp.pass.cpp deleted file mode 100644 index dc034ce099e..00000000000 --- a/libcxx/test/language.support/support.runtime/csetjmp.pass.cpp +++ /dev/null @@ -1,24 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -// test <csetjmp> - -#include <csetjmp> -#include <type_traits> - -#ifndef setjmp -#error setjmp not defined -#endif - -int main() -{ - std::jmp_buf jb; - static_assert((std::is_same<decltype(std::longjmp(jb, 0)), void>::value), - "std::is_same<decltype(std::longjmp(jb, 0)), void>::value"); -} |