diff options
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/ctype/to/wchar_t/1.cc')
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/ctype/to/wchar_t/1.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/ctype/to/wchar_t/1.cc b/libstdc++-v3/testsuite/22_locale/ctype/to/wchar_t/1.cc index 9f042abc438..9d446c791ca 100644 --- a/libstdc++-v3/testsuite/22_locale/ctype/to/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/22_locale/ctype/to/wchar_t/1.cc @@ -35,19 +35,12 @@ class gnu_ctype: public std::ctype<char_type> { }; void test01() { - bool test = true; + bool test __attribute__((unused)) = true; const char_type strlit00[] = L"manilla, cebu, tandag PHILIPPINES"; const char_type strlit01[] = L"MANILLA, CEBU, TANDAG PHILIPPINES"; const char_type strlit02[] = L"manilla, cebu, tandag philippines"; const char_type c00 = L'S'; const char_type c10 = L's'; - const char_type c20 = L'9'; - const char_type c30 = L' '; - const char_type c40 = L'!'; - const char_type c50 = L'F'; - const char_type c60 = L'f'; - const char_type c70 = L'X'; - const char_type c80 = L'x'; gnu_ctype gctype; char_type c100; @@ -66,7 +59,6 @@ void test01() int i09 = std::ctype_base::graph; int i10 = std::ctype_base::print; int i11 = std::ctype_base::cntrl; - int i12 = sizeof(std::ctype_base::mask); VERIFY ( i01 != i02); VERIFY ( i02 != i03); VERIFY ( i03 != i04); |