[libcxx-commits] [libcxx] r363290 - [libc++] Add missing #include in <cwchar> tests

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 13 11:24:29 PDT 2019


Author: ldionne
Date: Thu Jun 13 11:24:28 2019
New Revision: 363290

URL: http://llvm.org/viewvc/llvm-project?rev=363290&view=rev
Log:
[libc++] Add missing #include in <cwchar> tests

Thanks to Mikhail Maltsev for the patch.
Differential Revision: https://reviews.llvm.org/D63289

Modified:
    libcxx/trunk/test/std/depr/depr.c.headers/wchar_h.pass.cpp
    libcxx/trunk/test/std/strings/c.strings/cwchar.pass.cpp

Modified: libcxx/trunk/test/std/depr/depr.c.headers/wchar_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/wchar_h.pass.cpp?rev=363290&r1=363289&r2=363290&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/wchar_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/wchar_h.pass.cpp Thu Jun 13 11:24:28 2019
@@ -10,6 +10,7 @@
 
 #include <wchar.h>
 #include <stdarg.h>
+#include <stdio.h>
 #include <type_traits>
 
 #include "test_macros.h"

Modified: libcxx/trunk/test/std/strings/c.strings/cwchar.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/c.strings/cwchar.pass.cpp?rev=363290&r1=363289&r2=363290&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/c.strings/cwchar.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/c.strings/cwchar.pass.cpp Thu Jun 13 11:24:28 2019
@@ -11,6 +11,7 @@
 #include <cwchar>
 #include <ctime>
 #include <cstdarg>
+#include <cstdio>
 #include <type_traits>
 
 #include "test_macros.h"




More information about the libcxx-commits mailing list