summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/20_util
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/20_util')
-rw-r--r--libstdc++-v3/testsuite/20_util/is_floating_point/value.cc2
-rw-r--r--libstdc++-v3/testsuite/20_util/is_integral/value.cc2
-rw-r--r--libstdc++-v3/testsuite/20_util/is_signed/value.cc2
-rw-r--r--libstdc++-v3/testsuite/20_util/is_unsigned/value.cc2
-rw-r--r--libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-1.cc2
-rw-r--r--libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc2
-rw-r--r--libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-1.cc2
-rw-r--r--libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc2
-rw-r--r--libstdc++-v3/testsuite/20_util/type_identity/requirements/typedefs.cc2
9 files changed, 9 insertions, 9 deletions
diff --git a/libstdc++-v3/testsuite/20_util/is_floating_point/value.cc b/libstdc++-v3/testsuite/20_util/is_floating_point/value.cc
index 5dbdbf84d99..c84351c706f 100644
--- a/libstdc++-v3/testsuite/20_util/is_floating_point/value.cc
+++ b/libstdc++-v3/testsuite/20_util/is_floating_point/value.cc
@@ -53,7 +53,7 @@ void test01()
static_assert(test_category<is_floating_point, __float128>(true), "");
#endif
-#ifdef _GLIBCXX_USE_INT128
+#ifdef __SIZEOF_INT128__
static_assert(test_category<is_floating_point, __int128>(false), "");
static_assert(test_category<is_floating_point,
unsigned __int128>(false), "");
diff --git a/libstdc++-v3/testsuite/20_util/is_integral/value.cc b/libstdc++-v3/testsuite/20_util/is_integral/value.cc
index 46923262965..44962b55895 100644
--- a/libstdc++-v3/testsuite/20_util/is_integral/value.cc
+++ b/libstdc++-v3/testsuite/20_util/is_integral/value.cc
@@ -55,7 +55,7 @@ void test01()
#ifndef __STRICT_ANSI__
// GNU Extensions.
-#ifdef _GLIBCXX_USE_INT128
+#ifdef __SIZEOF_INT128__
static_assert(test_category<is_integral, __int128>(true), "");
static_assert(test_category<is_integral, unsigned __int128>(true), "");
#endif
diff --git a/libstdc++-v3/testsuite/20_util/is_signed/value.cc b/libstdc++-v3/testsuite/20_util/is_signed/value.cc
index f55d0f62b3a..8d17e972090 100644
--- a/libstdc++-v3/testsuite/20_util/is_signed/value.cc
+++ b/libstdc++-v3/testsuite/20_util/is_signed/value.cc
@@ -51,7 +51,7 @@ void test01()
#ifndef __STRICT_ANSI__
// GNU Extensions.
-#ifdef _GLIBCXX_USE_INT128
+#ifdef __SIZEOF_INT128__
static_assert(test_category<is_signed, __int128>(true), "");
static_assert(test_category<is_signed, unsigned __int128>(false), "");
#endif
diff --git a/libstdc++-v3/testsuite/20_util/is_unsigned/value.cc b/libstdc++-v3/testsuite/20_util/is_unsigned/value.cc
index bda79ecdb46..d682220358b 100644
--- a/libstdc++-v3/testsuite/20_util/is_unsigned/value.cc
+++ b/libstdc++-v3/testsuite/20_util/is_unsigned/value.cc
@@ -51,7 +51,7 @@ void test01()
#ifndef __STRICT_ANSI__
// GNU Extensions.
-#ifdef _GLIBCXX_USE_INT128
+#ifdef __SIZEOF_INT128__
static_assert(test_category<is_unsigned, unsigned __int128>(true), "");
static_assert(test_category<is_unsigned, __int128>(false), "");
#endif
diff --git a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-1.cc b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-1.cc
index 87b6155564a..c010c9701df 100644
--- a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-1.cc
+++ b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-1.cc
@@ -68,7 +68,7 @@ void test01()
#ifndef __STRICT_ANSI__
// GNU Extensions.
-#ifdef _GLIBCXX_USE_INT128
+#ifdef __SIZEOF_INT128__
typedef make_signed<unsigned __int128>::type test25_type;
static_assert( is_same<test25_type, __int128>::value,
"make_signed<unsigned __int128>" );
diff --git a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc
index 879e19f9779..0edf3d648b5 100644
--- a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc
+++ b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc
@@ -61,7 +61,7 @@ void test01()
#ifndef __STRICT_ANSI__
// GNU Extensions.
-#ifdef _GLIBCXX_USE_INT128
+#ifdef __SIZEOF_INT128__
typedef make_signed<unsigned __int128>::type test25_type;
static_assert(is_same<test25_type, __int128>::value, "");
diff --git a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-1.cc b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-1.cc
index 3e4649a4f18..e437c53cd8e 100644
--- a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-1.cc
+++ b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-1.cc
@@ -62,7 +62,7 @@ void test01()
#ifndef __STRICT_ANSI__
// GNU Extensions.
-#ifdef _GLIBCXX_USE_INT128
+#ifdef __SIZEOF_INT128__
typedef make_unsigned<unsigned __int128>::type test25_type;
static_assert(is_same<test25_type, unsigned __int128>::value, "");
diff --git a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc
index 36ec6365785..7e2b8c459e7 100644
--- a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc
+++ b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc
@@ -61,7 +61,7 @@ void test01()
#ifndef __STRICT_ANSI__
// GNU Extensions.
-#ifdef _GLIBCXX_USE_INT128
+#ifdef __SIZEOF_INT128__
typedef make_unsigned<unsigned __int128>::type test25_type;
static_assert(is_same<test25_type, unsigned __int128>::value, "");
diff --git a/libstdc++-v3/testsuite/20_util/type_identity/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/type_identity/requirements/typedefs.cc
index 302162c4f86..61f84118c63 100644
--- a/libstdc++-v3/testsuite/20_util/type_identity/requirements/typedefs.cc
+++ b/libstdc++-v3/testsuite/20_util/type_identity/requirements/typedefs.cc
@@ -86,7 +86,7 @@ void test01()
#ifndef __STRICT_ANSI__
// GNU Extensions.
-#ifdef _GLIBCXX_USE_INT128
+#ifdef __SIZEOF_INT128__
static_assert(test<unsigned __int128>::value, "");
static_assert(test<unsigned __int128>::value, "");
#endif