402N/A #include <locale> // for std::moneypunct, std::messages
402N/A-enum { fill = '\xdc' };
402N/A+unsigned char filler = '\xdc';
402N/A void test_moneypunct (charT)
402N/A typedef std::moneypunct <charT> PunctT;
402N/A- // Use a pointer to properly align buffer for placment new.
402N/A+ // Align on 8 because that covers all the cases we care about.
402N/A- char buf [sizeof (PunctT) + 1];
402N/A+ unsigned long long pad;
402N/A+ unsigned char buf [sizeof (PunctT) + 1];
402N/A+ // we can't explicitly call the destructor any longer
402N/A+ // because it is protected.
402N/A typedef std::messages <charT> MessagesT;
402N/A- char buf [sizeof (MessagesT) + 1];
402N/A+ unsigned long long pad;
402N/A+ unsigned char buf [sizeof (MessagesT) + 1];
402N/A+ // we can't explicitly call the destructor any longer
402N/A+ // because it is protected.
402N/A int main (int, char* [])