]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/smart_ptr/test/array_fail_wp_wpa_ma.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / smart_ptr / test / array_fail_wp_wpa_ma.cpp
CommitLineData
7c673cae
FG
1//
2// Copyright (c) 2012 Peter Dimov
3//
4// Distributed under the Boost Software License, Version 1.0.
5// See accompanying file LICENSE_1_0.txt or copy at
6// http://www.boost.org/LICENSE_1_0.txt
7//
8
9#include <boost/weak_ptr.hpp>
10
11struct X
12{
13};
14
15int main()
16{
17 boost::weak_ptr<X[]> px2; px2 = boost::weak_ptr<X>();
18}