1/*
2Copyright 2017 Glen Joseph Fernandes
3(glenjofe@gmail.com)
4
5Distributed under Boost Software License, Version 1.0.
6(See accompanying file LICENSE_1_0.txt or copy at
7http://www.boost.org/LICENSE_1_0.txt)
8*/
9
10// MACRO: BOOST_NO_CXX17_INLINE_VARIABLES
11// TITLE: C++17 inline variables
12// DESCRIPTION: C++17 inline variables are not supported.
13
14namespace boost_no_cxx17_inline_variables {
15
16inline const int Value = 1;
17
18struct Type {
19   static inline const int value = 1;
20};
21
22int test()
23{
24    return Type::value - Value;
25}
26
27} /* boost_no_cxx17_inline_variables */
28