mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-21 23:30:38 +08:00
Remove all _LIBCPP_VERSION tests from under test/std
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@283644 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
20
test/libcxx/depr/depr.c.headers/ciso646.pass.cpp
Normal file
20
test/libcxx/depr/depr.c.headers/ciso646.pass.cpp
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
// <ciso646>
|
||||||
|
|
||||||
|
#include <ciso646>
|
||||||
|
|
||||||
|
#ifndef _LIBCPP_VERSION
|
||||||
|
#error _LIBCPP_VERSION not defined
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
}
|
21
test/libcxx/depr/depr.c.headers/complex.h.pass.cpp
Normal file
21
test/libcxx/depr/depr.c.headers/complex.h.pass.cpp
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
// <complex.h>
|
||||||
|
|
||||||
|
#include <complex.h>
|
||||||
|
|
||||||
|
#ifndef _LIBCPP_VERSION
|
||||||
|
#error _LIBCPP_VERSION not defined
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
std::complex<double> d;
|
||||||
|
}
|
23
test/libcxx/depr/depr.c.headers/tgmath_h.pass.cpp
Normal file
23
test/libcxx/depr/depr.c.headers/tgmath_h.pass.cpp
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
// <tgmath.h>
|
||||||
|
|
||||||
|
#include <tgmath.h>
|
||||||
|
|
||||||
|
#ifndef _LIBCPP_VERSION
|
||||||
|
#error _LIBCPP_VERSION not defined
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
std::complex<double> cd;
|
||||||
|
double x = sin(1.0);
|
||||||
|
(void)x; // to placate scan-build
|
||||||
|
}
|
22
test/libcxx/numerics/c.math/ctgmath.pass.cpp
Normal file
22
test/libcxx/numerics/c.math/ctgmath.pass.cpp
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
// <ctgmath>
|
||||||
|
|
||||||
|
#include <ctgmath>
|
||||||
|
|
||||||
|
#ifndef _LIBCPP_VERSION
|
||||||
|
#error _LIBCPP_VERSION not defined
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
std::complex<double> cd;
|
||||||
|
double x = std::sin(0);
|
||||||
|
}
|
20
test/libcxx/numerics/c.math/tgmath_h.pass.cpp
Normal file
20
test/libcxx/numerics/c.math/tgmath_h.pass.cpp
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
// <tgmath.h>
|
||||||
|
|
||||||
|
#include <tgmath.h>
|
||||||
|
|
||||||
|
#ifndef _LIBCPP_VERSION
|
||||||
|
#error _LIBCPP_VERSION not defined
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
}
|
21
test/libcxx/numerics/complex.number/ccmplx/ccomplex.pass.cpp
Normal file
21
test/libcxx/numerics/complex.number/ccmplx/ccomplex.pass.cpp
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
// <ccomplex>
|
||||||
|
|
||||||
|
#include <ccomplex>
|
||||||
|
|
||||||
|
#ifndef _LIBCPP_VERSION
|
||||||
|
#error _LIBCPP_VERSION not defined
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
std::complex<double> d;
|
||||||
|
}
|
@@ -11,10 +11,6 @@
|
|||||||
|
|
||||||
#include <ciso646>
|
#include <ciso646>
|
||||||
|
|
||||||
#ifndef _LIBCPP_VERSION
|
|
||||||
#error _LIBCPP_VERSION not defined
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@@ -11,10 +11,6 @@
|
|||||||
|
|
||||||
#include <complex.h>
|
#include <complex.h>
|
||||||
|
|
||||||
#ifndef _LIBCPP_VERSION
|
|
||||||
#error _LIBCPP_VERSION not defined
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
std::complex<double> d;
|
std::complex<double> d;
|
||||||
|
@@ -11,10 +11,6 @@
|
|||||||
|
|
||||||
#include <tgmath.h>
|
#include <tgmath.h>
|
||||||
|
|
||||||
#ifndef _LIBCPP_VERSION
|
|
||||||
#error _LIBCPP_VERSION not defined
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
std::complex<double> cd;
|
std::complex<double> cd;
|
||||||
|
@@ -11,10 +11,6 @@
|
|||||||
|
|
||||||
#include <ctgmath>
|
#include <ctgmath>
|
||||||
|
|
||||||
#ifndef _LIBCPP_VERSION
|
|
||||||
#error _LIBCPP_VERSION not defined
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
std::complex<double> cd;
|
std::complex<double> cd;
|
||||||
|
@@ -11,10 +11,6 @@
|
|||||||
|
|
||||||
#include <tgmath.h>
|
#include <tgmath.h>
|
||||||
|
|
||||||
#ifndef _LIBCPP_VERSION
|
|
||||||
#error _LIBCPP_VERSION not defined
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@@ -11,10 +11,6 @@
|
|||||||
|
|
||||||
#include <ccomplex>
|
#include <ccomplex>
|
||||||
|
|
||||||
#ifndef _LIBCPP_VERSION
|
|
||||||
#error _LIBCPP_VERSION not defined
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
std::complex<double> d;
|
std::complex<double> d;
|
||||||
|
Reference in New Issue
Block a user