From ebc4ba87961aca988692ab4735b7f0e7b72914b0 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 19 Oct 2001 11:38:26 +0000 Subject: [PATCH] Updated test to check open/close interfaces. [SVN r11407] --- test/boost_no_std_messages.ipp | 10 ++++++++++ 1 file changed, 10 insertions(+) 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;