1 // RUN: clang-import-test -dump-ast -import %S/Inputs/S.cpp -expression %s -Xcc -DSEQ | FileCheck --check-prefix=CHECK-SEQ %s
2 // RUN: clang-import-test -dump-ast -import %S/Inputs/S.cpp -expression %s -Xcc -DPACK | FileCheck --check-prefix=CHECK-PACK %s
3 // RUN: clang-import-test -dump-ast -import %S/Inputs/S.cpp -expression %s -Xcc -DPACK -Xcc -DSEQ | FileCheck --check-prefixes=CHECK-SEQ,CHECK-PACK %s
5 // CHECK-SEQ: BuiltinTemplateDecl {{.+}} <<invalid sloc>> <invalid sloc> implicit __make_integer_seq{{$}}
6 // CHECK-PACK: BuiltinTemplateDecl {{.+}} <<invalid sloc>> <invalid sloc> implicit __type_pack_element{{$}}
10 typedef MakeSeq
<int, 3> M1
;
12 typedef MakeSeq
<long, 4> M2
;
14 static_assert(M1::PackSize
== 3, "");
15 static_assert(M2::PackSize
== 4, "");
19 static_assert(__is_same(TypePackElement
<0, X
<0>>, X
<0>), "");
20 static_assert(__is_same(TypePackElement
<0, X
<0>, X
<1>>, X
<0>), "");
21 static_assert(__is_same(TypePackElement
<1, X
<0>, X
<1>>, X
<1>), "");