Skip to content

Commit

Permalink
Disable large sequences for MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Jul 20, 2017
1 parent b9243bf commit 27658de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/seq/make_integer_sequence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ int main()
static_assert( make_index_sequence< 1 >::size() == 1, "oops" );
static_assert( make_index_sequence< 10 >::size() == 10, "oops" );
static_assert( make_index_sequence< 100 >::size() == 100, "oops" );

#ifndef _MSC_VER // Visual C++ complains about the symbol length
static_assert( make_index_sequence< 1000 >::size() == 1000, "oops" );
static_assert( make_index_sequence< 10000 >::size() == 10000, "oops" );
static_assert( make_index_sequence< 100000 >::size() == 100000, "oops" );
#endif
}

0 comments on commit 27658de

Please sign in to comment.