mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-01 22:04:32 +02:00
Add test for issue #69
This commit is contained in:
@@ -110,3 +110,5 @@ compile vector.cpp ;
|
||||
compile vector_c.cpp ;
|
||||
compile zip_view.cpp ;
|
||||
run string.cpp ;
|
||||
|
||||
run issue_69.cpp ;
|
||||
|
13
test/issue_69.cpp
Normal file
13
test/issue_69.cpp
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user