//===----------------------------------------------------------------------===// // // 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 #include #include #ifndef BUFSIZ #error BUFSIZ not defined #endif #ifndef EOF #error EOF not defined #endif #ifndef FILENAME_MAX #error FILENAME_MAX not defined #endif #ifndef FOPEN_MAX #error FOPEN_MAX not defined #endif #ifndef L_tmpnam #error L_tmpnam not defined #endif #ifndef NULL #error NULL not defined #endif #ifndef SEEK_CUR #error SEEK_CUR not defined #endif #ifndef SEEK_END #error SEEK_END not defined #endif #ifndef SEEK_SET #error SEEK_SET not defined #endif #ifndef TMP_MAX #error TMP_MAX not defined #endif #ifndef _IOFBF #error _IOFBF not defined #endif #ifndef _IOLBF #error _IOLBF not defined #endif #ifndef _IONBF #error _IONBF not defined #endif #ifndef stderr #error stderr not defined #endif #ifndef stdin #error stdin not defined #endif #ifndef stdout #error stdout not defined #endif #include #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wformat-zero-length" int main() { std::FILE* fp = 0; std::fpos_t fpos = {0}; std::size_t s = 0; char* cp = 0; std::va_list va; static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); }