brintos

brintos / llvm-project-archived public Read only

0
0
Text · 501 B · a52349c Raw
18 lines · cpp
1// RUN: %clang_cc1 -std=c++14 -x c++-header %s -emit-pch -o %t.pch2// RUN: %clang_cc1 -std=c++14 -x c++ /dev/null -include-pch %t.pch3 4// RUN: %clang_cc1 -std=c++14 -x c++-header %s -emit-pch -fpch-instantiate-templates -o %t.pch5// RUN: %clang_cc1 -std=c++14 -x c++ /dev/null -include-pch %t.pch6 7template <class T, T... I>8struct Seq {9    static constexpr T PackSize = sizeof...(I);10};11 12template <typename T, T N>13using MakeSeq = __make_integer_seq<Seq, T, N>;14 15void fn1() {16  MakeSeq<int, 3> x;17}18