fix stdio.h test to reflect removal of ::gets in c++14

llvm-svn: 215329
This commit is contained in:
Eric Fiselier 2014-08-10 22:39:11 +00:00
parent ed8885b402
commit 399e99ae75
1 changed files with 2 additions and 0 deletions

View File

@ -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), "");