blob: cf8124617b3c681fe1b024d1c5e4fe71036f7bc1 [file] [log] [blame]
// RUN: %clang_cc1 -std=c++2c -x c++-header %s -emit-pch -o %t.pch
// RUN: %clang_cc1 -std=c++2c -x c++ /dev/null -include-pch %t.pch
// RUN: %clang_cc1 -std=c++2c -x c++-header %s -emit-pch -fpch-instantiate-templates -o %t.pch
// RUN: %clang_cc1 -std=c++2c -x c++ /dev/null -include-pch %t.pch
template <int I, typename... U>
using Type = U...[I];
template <int I, auto...V>
constexpr auto Var = V...[I];
void fn1() {
using A = Type<1, int, long, double>;
constexpr auto V = Var<2, 0, 1, 42>;
}