]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/config/test/boost_fallthrough_test.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / config / test / boost_fallthrough_test.cpp
1 // (C) Copyright John Maddock 2013.
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6 #include <boost/config.hpp>
7
8 int test(int n)
9 {
10 switch (n)
11 {
12 case 0:
13 n++;
14 BOOST_FALLTHROUGH;
15 case 1:
16 n++;
17 break;
18 }
19 return n;
20 }
21