#include <stdio.h>
#include <c++/bits/locale_classes.h>
class Foo : public std::locale::facet
{
public:
static void test()
{
printf("test\n");
std::__c_locale arg1;
char const *arg2;
std::locale::facet::_S_lc_ctype_c_locale(arg1, arg2);
}
};
extern "C" void test()
{
Foo::test();
}