Skip to content

Commit

Permalink
Add test for issue boostorg#69
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov authored and jeking3 committed Jan 3, 2025
1 parent 46bf2ee commit d95bae3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,5 @@ compile vector.cpp ;
compile vector_c.cpp ;
compile zip_view.cpp ;
run string.cpp ;

run issue_69.cpp ;
13 changes: 13 additions & 0 deletions test/issue_69.cpp
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit d95bae3

Please sign in to comment.