diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-04-29 04:19:48 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-04-29 04:19:48 +0000 |
commit | cc06271d1272a877e5126ce4807f8c296efc63bc (patch) | |
tree | 175da9bace35aa4f42d29b7c421b0854df35e450 /libcxx/test/std/depr/depr.c.headers/extern_c.pass.cpp | |
parent | cbeadbdbad113f31f81ec0fde59d16cd14651db1 (diff) | |
download | bcm5719-llvm-cc06271d1272a877e5126ce4807f8c296efc63bc.tar.gz bcm5719-llvm-cc06271d1272a877e5126ce4807f8c296efc63bc.zip |
Move extern C include test into test/libcxx
llvm-svn: 267983
Diffstat (limited to 'libcxx/test/std/depr/depr.c.headers/extern_c.pass.cpp')
-rw-r--r-- | libcxx/test/std/depr/depr.c.headers/extern_c.pass.cpp | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/libcxx/test/std/depr/depr.c.headers/extern_c.pass.cpp b/libcxx/test/std/depr/depr.c.headers/extern_c.pass.cpp deleted file mode 100644 index d4d8b5fafdd..00000000000 --- a/libcxx/test/std/depr/depr.c.headers/extern_c.pass.cpp +++ /dev/null @@ -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() {} |