diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 39bd416..1fef348 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -110,3 +110,5 @@ compile vector.cpp ; compile vector_c.cpp ; compile zip_view.cpp ; run string.cpp ; + +run issue_69.cpp ; diff --git a/test/issue_69.cpp b/test/issue_69.cpp new file mode 100644 index 0000000..77d52e4 --- /dev/null +++ b/test/issue_69.cpp @@ -0,0 +1,13 @@ +// Copyright 2024 Peter Dimov +// Distributed under the Boost Software License, Version 1.0. +// https://www.boost.org/LICENSE_1_0.txt + +#include + +enum test { zero, one }; + +int main() +{ + boost::mpl::integral_c m; + return m.value; +}