]>
Commit | Line | Data |
---|---|---|
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 | ||
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 |