diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2000-05-10 20:23:27 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2000-05-10 20:23:27 +0000 |
commit | f035fae1edefcf14efe3ad5404ae14807f17acc7 (patch) | |
tree | 331c206ff8fe62c73401a1fbd12bed2fe8ac4eb1 /libstdc++-v3/testsuite | |
parent | 9a689793b001668858bd26cabf0232d633082ec4 (diff) | |
download | gcc-f035fae1edefcf14efe3ad5404ae14807f17acc7.zip gcc-f035fae1edefcf14efe3ad5404ae14807f17acc7.tar.gz gcc-f035fae1edefcf14efe3ad5404ae14807f17acc7.tar.bz2 |
Finish up FreeBSD4.0 support.
2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
Finish up FreeBSD4.0 support.
* config/bsd/ctype.cc: Scope out toupper, tolower calls.
* config/generic/ctype.cc: And here.
* testsuite/21_strings/char_traits.cc (test02): Guard with
_GLIBCPP_USE_WCHAR_T.
From-SVN: r33831
Diffstat (limited to 'libstdc++-v3/testsuite')
-rw-r--r-- | libstdc++-v3/testsuite/21_strings/char_traits.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/21_strings/char_traits.cc b/libstdc++-v3/testsuite/21_strings/char_traits.cc index 493e4a7..0ad8425 100644 --- a/libstdc++-v3/testsuite/21_strings/char_traits.cc +++ b/libstdc++-v3/testsuite/21_strings/char_traits.cc @@ -109,6 +109,7 @@ int test01(void) return test; } +#if _GLIBCPP_USE_WCHAR_T int test02(void) { bool test = true; @@ -193,12 +194,14 @@ int test02(void) return test; } - +#endif //_GLIBCPP_USE_WCHAR_T int main() { test01(); +#if _GLIBCPP_USE_WCHAR_T test02(); +#endif } |