1 // RUN: %clang_cc1 -emit-pch -std=c++2a -o %t %s
2 // RUN: %clang_cc1 -std=c++2a -x ast -ast-print %t | FileCheck %s
4 // RUN: %clang_cc1 -emit-pch -std=c++2a -fpch-instantiate-templates -o %t %s
5 // RUN: %clang_cc1 -std=c++2a -x ast -ast-print %t | FileCheck %s
10 template<typename T
, typename U
>
15 // CHECK: requires (T t) { t++; { t++ } noexcept -> C; { t++ } -> C2<int>; typename T::a; requires T::val; requires C<typename T::val> || (C<typename T::val> || C<T>); };
16 return requires (T t
) {
18 { t
++ } noexcept
-> C
;
22 requires C
<typename
T::val
> || (C
<typename
T::val
> || C
<T
>);