minix/external/bsd/libc++/dist/libcxx/test/input.output/file.streams/c.files/gets.fail.cpp

24 lines
501 B
C++
Raw Normal View History

//===----------------------------------------------------------------------===//
//
// 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 <cstdio>
// gets
#include <cstdio>
int main()
{
#if _LIBCPP_STD_VER > 11
(void) std::gets((char *) NULL);
#else
#error
#endif
}