1#ifndef HIDDEN_HPP_INCLUDED
2#define HIDDEN_HPP_INCLUDED
3
4//Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
5
6//Distributed under the Boost Software License, Version 1.0. (See accompanying
7//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8
9#include <boost/exception/info.hpp>
10
11typedef boost::error_info<struct my_info_, int> my_info;
12
13struct BOOST_SYMBOL_VISIBLE my_exception: virtual std::exception, virtual boost::exception { };
14
15#endif
16

source code of boost/libs/exception/test/visibility_test_lib.hpp