]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc
libstdc++: Remove unnecessary uses of _GLIBCXX_USE_WCHAR_T in testsuite [PR98725]
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 20_util / make_unsigned / requirements / typedefs-2.cc
index 7e2b8c459e7aeed834c14b50a074061089b48997..5b4a1d4a249075947f014228af0f3ddd81b728e9 100644 (file)
@@ -49,12 +49,10 @@ void test01()
   typedef make_unsigned<const char>::type      test22_type;
   static_assert(is_same<test22_type, const unsigned char>::value, "");
 
-#ifdef _GLIBCXX_USE_WCHAR_T
   typedef make_unsigned<volatile wchar_t>::type        test23_type;
   static_assert(is_unsigned<test23_type>::value
                 && is_volatile<test23_type>::value
                 && sizeof(test23_type) == sizeof(volatile wchar_t), "");
-#endif
 
   typedef make_unsigned<test_enum>::type         test24_type;
   static_assert(is_same<test24_type, unsigned short>::value, "");