[libcxx] r267983 - Move extern C include test into test/libcxx

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 28 21:19:48 PDT 2016


Author: ericwf
Date: Thu Apr 28 23:19:48 2016
New Revision: 267983

URL: http://llvm.org/viewvc/llvm-project?rev=267983&view=rev
Log:
Move extern C include test into test/libcxx

Added:
    libcxx/trunk/test/libcxx/depr/
    libcxx/trunk/test/libcxx/depr/depr.c.headers/
    libcxx/trunk/test/libcxx/depr/depr.c.headers/extern_c.pass.cpp
Removed:
    libcxx/trunk/test/std/depr/depr.c.headers/extern_c.pass.cpp

Added: libcxx/trunk/test/libcxx/depr/depr.c.headers/extern_c.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/depr/depr.c.headers/extern_c.pass.cpp?rev=267983&view=auto
==============================================================================
--- libcxx/trunk/test/libcxx/depr/depr.c.headers/extern_c.pass.cpp (added)
+++ libcxx/trunk/test/libcxx/depr/depr.c.headers/extern_c.pass.cpp Thu Apr 28 23:19:48 2016
@@ -0,0 +1,43 @@
+//===----------------------------------------------------------------------===//
+//
+//                     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.
+//
+//===----------------------------------------------------------------------===//
+
+// Sometimes C++'s <foo.h> headers get included within extern "C" contexts. This
+// is ill-formed (no diagnostic required), per [using.headers]p3, but we permit
+// it as an extension.
+
+extern "C" {
+#include <assert.h>
+// complex.h is not supported in extern "C".
+#include <ctype.h>
+#include <errno.h>
+#include <fenv.h>
+#include <float.h>
+#include <inttypes.h>
+#include <iso646.h>
+#include <limits.h>
+#include <locale.h>
+#include <math.h>
+#include <setjmp.h>
+#include <signal.h>
+#include <stdalign.h>
+#include <stdarg.h>
+#include <stdbool.h>
+#include <stddef.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+// tgmath.h is not supported in extern "C".
+#include <time.h>
+// FIXME: #include <uchar.h>
+#include <wchar.h>
+#include <wctype.h>
+}
+
+int main() {}

Removed: libcxx/trunk/test/std/depr/depr.c.headers/extern_c.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/extern_c.pass.cpp?rev=267982&view=auto
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/extern_c.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/extern_c.pass.cpp (removed)
@@ -1,43 +0,0 @@
-//===----------------------------------------------------------------------===//
-//
-//                     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.
-//
-//===----------------------------------------------------------------------===//
-
-// Sometimes C++'s <foo.h> headers get included within extern "C" contexts. This
-// is ill-formed (no diagnostic required), per [using.headers]p3, but we permit
-// it as an extension.
-
-extern "C" {
-#include <assert.h>
-// complex.h is not supported in extern "C".
-#include <ctype.h>
-#include <errno.h>
-#include <fenv.h>
-#include <float.h>
-#include <inttypes.h>
-#include <iso646.h>
-#include <limits.h>
-#include <locale.h>
-#include <math.h>
-#include <setjmp.h>
-#include <signal.h>
-#include <stdalign.h>
-#include <stdarg.h>
-#include <stdbool.h>
-#include <stddef.h>
-#include <stdint.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-// tgmath.h is not supported in extern "C".
-#include <time.h>
-// FIXME: #include <uchar.h>
-#include <wchar.h>
-#include <wctype.h>
-}
-
-int main() {}




More information about the cfe-commits mailing list