]> git.proxmox.com Git - ceph.git/blame - 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
CommitLineData
92f5a8d4 1// (C) Copyright John Maddock 2013.
7c673cae
FG
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
8int 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