diff --git a/test/boost_no_std_messages.ipp b/test/boost_no_std_messages.ipp index e62a381d..d874a252 100644 --- a/test/boost_no_std_messages.ipp +++ b/test/boost_no_std_messages.ipp @@ -12,6 +12,16 @@ namespace boost_no_std_messages{ +// +// this just has to complile, not run: +// +void test_messages(const std::messages& m) +{ + static const std::locale l; + static const std::string name("foobar"); + m.close(m.open(name, l)); +} + int test() { const std::messages* pmf = 0;