fix stdio.h test to reflect removal of ::gets in c++14
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@215329 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
67740670f9
commit
e48b0c40ad
@ -117,7 +117,9 @@ int main()
|
||||
static_assert((std::is_same<decltype(fputs("",fp)), int>::value), "");
|
||||
static_assert((std::is_same<decltype(getc(fp)), int>::value), "");
|
||||
static_assert((std::is_same<decltype(getchar()), int>::value), "");
|
||||
#if _LIBCPP_STD_VER < 14
|
||||
static_assert((std::is_same<decltype(gets(cp)), char*>::value), "");
|
||||
#endif
|
||||
static_assert((std::is_same<decltype(putc(0,fp)), int>::value), "");
|
||||
static_assert((std::is_same<decltype(putchar(0)), int>::value), "");
|
||||
static_assert((std::is_same<decltype(puts("")), int>::value), "");
|
||||
|
Loading…
x
Reference in New Issue
Block a user