2008-04-23  Eric Lemings  <eric.lemings@roguewave.com>

	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.



git-svn-id: https://svn.apache.org/repos/asf/stdcxx/trunk@651057 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tests/localization/22.locale.synopsis.cpp b/tests/localization/22.locale.synopsis.cpp
index 1aa6dd7..6c72e0c 100644
--- a/tests/localization/22.locale.synopsis.cpp
+++ b/tests/localization/22.locale.synopsis.cpp
@@ -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);