1//
2// Explicit instantiations are reported to exist in user code
3//
4// Copyright (c) 2014 Peter Dimov
5//
6// Distributed under the Boost Software License, Version 1.0.
7// See accompanying file LICENSE_1_0.txt or copy at
8// http://www.boost.org/LICENSE_1_0.txt
9//
10
11#include <boost/shared_ptr.hpp>
12
13template class boost::shared_ptr< int >;
14
15struct X
16{
17};
18
19template class boost::shared_ptr< X >;
20
21int main()
22{
23}
24

source code of boost/libs/smart_ptr/test/sp_explicit_inst_test.cpp