Updated test to check open/close interfaces.

[SVN r11407]
This commit is contained in:
John Maddock
2001-10-19 11:38:26 +00:00
parent 2069d5ad13
commit ebc4ba8796

View File

@ -12,6 +12,16 @@
namespace boost_no_std_messages{
//
// this just has to complile, not run:
//
void test_messages(const std::messages<char>& m)
{
static const std::locale l;
static const std::string name("foobar");
m.close(m.open(name, l));
}
int test()
{
const std::messages<char>* pmf = 0;