]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/utility/value_init_test_fail2.cpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / utility / value_init_test_fail2.cpp
CommitLineData
7c673cae
FG
1// Copyright 2002, Fernando Luis Cacciola Carballal.
2//
3// Distributed under the Boost Software License, Version 1.0. (See
4// accompanying file LICENSE_1_0.txt or copy at
5// http://www.boost.org/LICENSE_1_0.txt)
6//
7// Test program for "boost/utility/value_init.hpp"
8//
9// Initial: 21 Agu 2002
10
11#include <iostream>
12#include <string>
13
14#include "boost/utility/value_init.hpp"
15
16#ifdef __BORLANDC__
17#pragma hdrstop
18#endif
19
20#include "boost/test/minimal.hpp"
21
22int test_main(int, char **)
23{
24 boost::value_initialized<int const> cx ;
25
26 get(cx) = 1234 ; // this should produce an ERROR
27
28 return 0;
29}
30
31unsigned int expected_failures = 0;
32
33
34
35
36