Add test for issue #69

This commit is contained in:
Peter Dimov
2024-06-18 02:23:56 +03:00
parent 8b6fae5089
commit b86c4cc950
2 changed files with 15 additions and 0 deletions

View File

@@ -110,3 +110,5 @@ compile vector.cpp ;
compile vector_c.cpp ; compile vector_c.cpp ;
compile zip_view.cpp ; compile zip_view.cpp ;
run string.cpp ; run string.cpp ;
run issue_69.cpp ;

13
test/issue_69.cpp Normal file
View File

@@ -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 <boost/mpl/integral_c.hpp>
enum test { zero, one };
int main()
{
boost::mpl::integral_c<test, zero> m;
return m.value;
}