From e48b0c40ad37cb38282e3005cfe1992922768f70 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Sun, 10 Aug 2014 22:39:11 +0000 Subject: [PATCH] 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 --- test/depr/depr.c.headers/stdio_h.pass.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/depr/depr.c.headers/stdio_h.pass.cpp b/test/depr/depr.c.headers/stdio_h.pass.cpp index 8e236e32..d4cfbc80 100644 --- a/test/depr/depr.c.headers/stdio_h.pass.cpp +++ b/test/depr/depr.c.headers/stdio_h.pass.cpp @@ -117,7 +117,9 @@ int main() static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); +#if _LIBCPP_STD_VER < 14 static_assert((std::is_same::value), ""); +#endif static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), "");