blob: 064d72cd9e4a15f79e93782549ddd2b598ba0884 [file] [log] [blame]
Marshall Clow8de32cb2013-10-12 19:09:47 +00001//===----------------------------------------------------------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is dual licensed under the MIT and the University of Illinois Open
6// Source Licenses. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
Asiri Rathnayake6edc12c2016-05-28 08:57:35 +000010// UNSUPPORTED: c++98, c++03, c++11
Marshall Clow8de32cb2013-10-12 19:09:47 +000011// test <cstdio>
12
Eric Fiselierd04c6852016-06-01 21:35:39 +000013// gets
Marshall Clow8de32cb2013-10-12 19:09:47 +000014
15#include <cstdio>
16
17int main()
18{
Marshall Clow8de32cb2013-10-12 19:09:47 +000019 (void) std::gets((char *) NULL);
Marshall Clow8de32cb2013-10-12 19:09:47 +000020}