blob: 2dd6c17b3deed77e9e047ee6ecadc07b7e3478e9 [file] [log] [blame]
Marshall Clow7ec46bc2013-07-01 16:26:55 +00001//===----------------------------------------------------------------------===//
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
19int main()
20{
Dan Albert1d4a1ed2016-05-25 22:36:09 -070021#if _LIBCPP_STD_VER > 11
Marshall Clow7ec46bc2013-07-01 16:26:55 +000022
Dan Albert1d4a1ed2016-05-25 22:36:09 -070023 std::make_integer_sequence<int, -3>::value_type i;
24
Marshall Clow7ec46bc2013-07-01 16:26:55 +000025#else
Dan Albert1d4a1ed2016-05-25 22:36:09 -070026
27X
28
29#endif // _LIBCPP_STD_VER > 11
Marshall Clow7ec46bc2013-07-01 16:26:55 +000030}