Home | History | Annotate | Download | only in intseq.make
      1 //===----------------------------------------------------------------------===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is dual licensed under the MIT and the University of Illinois Open
      6 // Source Licenses. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 
     10 // <utility>
     11 
     12 // template<class T, T N>
     13 //   using make_integer_sequence = integer_sequence<T, 0, 1, ..., N-1>;
     14 
     15 #include <utility>
     16 #include <type_traits>
     17 #include <cassert>
     18 
     19 int main()
     20 {
     21 #if _LIBCPP_STD_VER > 11
     22 
     23     std::make_integer_sequence<int, -3>::value_type i;
     24 
     25 #else
     26 
     27 X
     28 
     29 #endif  // _LIBCPP_STD_VER > 11
     30 }
     31