1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 // template<class T, T N>
12 // using make_integer_sequence = integer_sequence<T, 0, 1, ..., N-1>;
14 // UNSUPPORTED: c++03, c++11
16 // This test hangs during recursive template instantiation with libstdc++
17 // UNSUPPORTED: stdlib=libstdc++
19 // ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_TESTING_FALLBACK_MAKE_INTEGER_SEQUENCE
23 typedef std::make_integer_sequence
<int, -3> MakeSeqT
;
24 MakeSeqT i
; // expected-error-re@*:* {{static assertion failed{{.*}}std::make_integer_sequence must have a non-negative sequence length}}