diff options
Diffstat (limited to 'libstdc++-v3/testsuite/tr1/8_c_compatibility')
14 files changed, 22 insertions, 22 deletions
diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cfenv/types_std_tr1.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cfenv/types_std_tr1.cc index 9c3d25bdada..2873f04f5d4 100644 --- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cfenv/types_std_tr1.cc +++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cfenv/types_std_tr1.cc @@ -29,6 +29,6 @@ void test01() typedef std::tr1::fenv_t my_fenv_t; typedef std::tr1::fexcept_t my_fexcept_t; - + #endif } diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cinttypes/functions.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cinttypes/functions.cc index 51854208317..b4caf3b7487 100644 --- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cinttypes/functions.cc +++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cinttypes/functions.cc @@ -33,7 +33,7 @@ void test01() #if defined(_GLIBCXX_USE_WCHAR_T) && _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 const wchar_t* ws = 0; wchar_t** wendptr = 0; -#endif +#endif std::tr1::intmax_t ret; std::tr1::uintmax_t uret; diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cinttypes/types_std_tr1.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cinttypes/types_std_tr1.cc index 8da7fb61146..b2307f7c046 100644 --- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cinttypes/types_std_tr1.cc +++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cinttypes/types_std_tr1.cc @@ -28,6 +28,6 @@ void test01() #if _GLIBCXX_USE_C99_INTTYPES_TR1 typedef std::tr1::imaxdiv_t my_imaxdiv_t; - + #endif } diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/functions.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/functions.cc index 699cac1f5ca..9c85cd9ad7d 100644 --- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/functions.cc +++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/functions.cc @@ -188,6 +188,6 @@ void test01() llret = llret; fret = fret; ldret = ldret; - + #endif } diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/overloads.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/overloads.cc index ea9aff346de..bbf084e3a23 100644 --- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/overloads.cc +++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/overloads.cc @@ -33,7 +33,7 @@ void test01() double d0 = 0.0; float f0 = 0.0f; long double ld0 = 0.0l; - int i0 = 0; + int i0 = 0; int* pquo = 0; long lex = 0l; int ex = 0; @@ -71,7 +71,7 @@ void test01() check_ret_type<float>(std::tr1::copysign(f0, f0)); check_ret_type<long double>(std::tr1::copysign(ld0, ld0)); check_ret_type<long double>(std::tr1::copysign(ld0, d0)); - check_ret_type<double>(std::tr1::copysign(i0, i0)); + check_ret_type<double>(std::tr1::copysign(i0, i0)); check_ret_type<double>(std::tr1::copysign(d0, i0)); check_ret_type<double>(std::tr1::erf(d0)); @@ -252,6 +252,6 @@ void test01() check_ret_type<float>(std::tr1::trunc(f0)); check_ret_type<long double>(std::tr1::trunc(ld0)); check_ret_type<double>(std::tr1::trunc(i0)); - + #endif } diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc index 5cb5708118b..8c26aa3f490 100644 --- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc +++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc @@ -24,7 +24,7 @@ using std::pow; #include <tr1/cmath> #include <testsuite_tr1.h> -void +void test01() { using namespace __gnu_test; diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/templates.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/templates.cc index c5b9310d3fb..d817718e1f5 100644 --- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/templates.cc +++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/templates.cc @@ -30,20 +30,20 @@ template<typename T> void test01_do() { T x = T(); - + bool ret; int iret; ret = std::tr1::signbit(x); - + iret = std::tr1::fpclassify(x); iret = iret; // Suppress unused warning. - + ret = std::tr1::isfinite(x); ret = std::tr1::isinf(x); ret = std::tr1::isnan(x); ret = std::tr1::isnormal(x); - + ret = std::tr1::isgreater(x, x); ret = std::tr1::isgreaterequal(x, x); ret = std::tr1::isless(x, x); diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/types_std_tr1.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/types_std_tr1.cc index 7a9a8da8de4..b72304fad61 100644 --- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/types_std_tr1.cc +++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/types_std_tr1.cc @@ -29,6 +29,6 @@ void test01() typedef std::tr1::double_t my_double_t; typedef std::tr1::float_t my_float_t; - + #endif } diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/50880.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/50880.cc index 420158e209b..95d366a04b2 100644 --- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/50880.cc +++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/50880.cc @@ -16,7 +16,7 @@ // <http://www.gnu.org/licenses/>. #include <tr1/complex> -#include <testsuite_hooks.h> +#include <testsuite_hooks.h> template<typename T> void test01_do() diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/functions.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/functions.cc index 29f47fb4d1b..3a690a390f3 100644 --- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/functions.cc +++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/functions.cc @@ -39,7 +39,7 @@ template<typename T> ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); } - + void test01() { test01_do<float>(); diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/overloads_float.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/overloads_float.cc index f6b79e9512f..2cec997e3c8 100644 --- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/overloads_float.cc +++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/overloads_float.cc @@ -47,11 +47,11 @@ void test01() check_ret_type<cmplx_f_type>(std::tr1::conj(f1)); check_ret_type<cmplx_d_type>(std::tr1::conj(d1)); check_ret_type<cmplx_ld_type>(std::tr1::conj(ld1)); - + check_ret_type<float>(std::tr1::imag(f1)); check_ret_type<double>(std::tr1::imag(d1)); check_ret_type<long double>(std::tr1::imag(ld1)); - + check_ret_type<float>(std::tr1::norm(f1)); check_ret_type<double>(std::tr1::norm(d1)); check_ret_type<long double>(std::tr1::norm(ld1)); diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/overloads_int.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/overloads_int.cc index 1b225c01b21..d767f4c0f40 100644 --- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/overloads_int.cc +++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/overloads_int.cc @@ -36,7 +36,7 @@ void test01() const long l1 = 1; const double f1 = 1.0f; const double d1 = 1.0; - + check_ret_type<double>(std::tr1::arg(i1)); VERIFY( std::tr1::arg(i1) == std::tr1::arg(double(i1)) ); VERIFY( std::tr1::arg(i1) == std::tr1::arg(cmplx_d_type(double(i1))) ); diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc index c7b7c7f94c6..d596ed6cdd9 100644 --- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc +++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc @@ -33,7 +33,7 @@ void test01() typedef std::tr1::int_fast8_t my_int_fast8_t; typedef std::tr1::int_fast16_t my_int_fast16_t; typedef std::tr1::int_fast32_t my_int_fast32_t; - typedef std::tr1::int_fast64_t my_int_fast64_t; + typedef std::tr1::int_fast64_t my_int_fast64_t; typedef std::tr1::int_least8_t my_int_least8_t; typedef std::tr1::int_least16_t my_int_least16_t; typedef std::tr1::int_least32_t my_int_least32_t; @@ -47,7 +47,7 @@ void test01() typedef std::tr1::uint_fast8_t my_uint_fast8_t; typedef std::tr1::uint_fast16_t my_uint_fast16_t; typedef std::tr1::uint_fast32_t my_uint_fast32_t; - typedef std::tr1::uint_fast64_t my_uint_fast64_t; + typedef std::tr1::uint_fast64_t my_uint_fast64_t; typedef std::tr1::uint_least8_t my_uint_least8_t; typedef std::tr1::uint_least16_t my_uint_least16_t; typedef std::tr1::uint_least32_t my_uint_least32_t; diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdio/functions.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdio/functions.cc index 3341cc192e5..7bdd7056492 100644 --- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdio/functions.cc +++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdio/functions.cc @@ -43,10 +43,10 @@ void test01(int dummy, ...) ret = std::tr1::snprintf(s, n, format, dummy); ret = std::tr1::vsnprintf(s, n, format, ap); - ret = std::tr1::vfscanf(stream, format, ap); + ret = std::tr1::vfscanf(stream, format, ap); ret = std::tr1::vscanf(format, ap); ret = std::tr1::vsscanf(cs, format, ap); ret = ret; // Suppress unused warning. - + #endif } |