Author: elemings
Date: Wed Apr 23 13:51:37 2008
New Revision: 651057
URL: http://svn.apache.org/viewvc?rev=651057&view=rev
Log:
2008-04-23 Eric Lemings <[EMAIL PROTECTED]>
STDCXX-869
* tests/localization/22.locale.synopsis.cpp
(test_ctype_specialization): Commented out storage class for
compilers that don't like such templates.
(run_test): Add spaces around brackets in FUN2() macro so that
template argments do not expand with '>>' token.
Modified:
stdcxx/trunk/tests/localization/22.locale.synopsis.cpp
Modified: stdcxx/trunk/tests/localization/22.locale.synopsis.cpp
URL:
http://svn.apache.org/viewvc/stdcxx/trunk/tests/localization/22.locale.synopsis.cpp?rev=651057&r1=651056&r2=651057&view=diff
==============================================================================
--- stdcxx/trunk/tests/localization/22.locale.synopsis.cpp (original)
+++ stdcxx/trunk/tests/localization/22.locale.synopsis.cpp Wed Apr 23 13:51:37
2008
@@ -763,7 +763,7 @@
// exercise the primary template
template <class charT>
-static void
+/*static*/ void
test_ctype_specialization ()
{
CtypeDerived<charT>::test_protected_members ();
@@ -825,7 +825,7 @@
// exercise the char specialization
_RWSTD_SPECIALIZED_FUNCTION
-static void
+/*static*/ void
test_ctype_specialization<char> ()
{
// prevent multiple assertions
@@ -1891,7 +1891,7 @@
// don't use _RWSTD_STRSTR so type macros (e.g. UDC) are not expanded
#undef FUN1
#define FUN1(fun, charT) \
- fun<charT> (#charT)
+ fun< charT > (#charT)
// std::locale::collate category
FUN1 (test_collate, char);
@@ -1902,7 +1902,7 @@
#undef FUN2
#define FUN2(fun, charT, IterT) \
- fun<charT, IterT> (#charT, #IterT)
+ fun< charT, IterT > (#charT, #IterT)
// std::locale::monetary category
FUN1 (test_moneypunct, char);