Home
last modified time | relevance | path

Searched refs:MakeSeq (Results 1 – 2 of 2) sorted by relevance

/external/clang/test/SemaCXX/
Dmake_integer_seq.cpp11 using MakeSeq = __make_integer_seq<Seq, T, N>; typedef
13 static_assert(__is_same(MakeSeq<int, 0>, Seq<int>), "");
14 static_assert(__is_same(MakeSeq<int, 1>, Seq<int, 0>), "");
15 static_assert(__is_same(MakeSeq<int, 2>, Seq<int, 0, 1>), "");
16 static_assert(__is_same(MakeSeq<int, 3>, Seq<int, 0, 1, 2>), "");
17 static_assert(__is_same(MakeSeq<int, 4>, Seq<int, 0, 1, 2, 3>), "");
19 static_assert(__is_same(MakeSeq<unsigned int, 0U>, Seq<unsigned int>), "");
20 static_assert(__is_same(MakeSeq<unsigned int, 1U>, Seq<unsigned int, 0U>), "");
21 static_assert(__is_same(MakeSeq<unsigned int, 2U>, Seq<unsigned int, 0U, 1U>), "");
22 static_assert(__is_same(MakeSeq<unsigned int, 3U>, Seq<unsigned int, 0U, 1U, 2U>), "");
[all …]
/external/clang/test/PCH/
Dmake-integer-seq.cpp10 using MakeSeq = __make_integer_seq<Seq, T, N>; typedef
13 MakeSeq<int, 3> x; in fn1()