1 // RUN: %clang_cc1 -std=c++2a -fallow-pch-with-compiler-errors -emit-pch -o %t %s -verify
2 // RUN: %clang_cc1 -std=c++2a -fallow-pch-with-compiler-errors -include-pch %t %s -verify
7 template <typename T
, typename U
>
8 concept not_same_as
= true;
12 template <not_same_as
<int> R
>
13 subrange(R
) requires(Kind
== 0);
15 template <not_same_as
<int> R
>
16 subrange(R
) requires(Kind
!= 0);
20 subrange(R
) -> subrange
<42>;
32 concept C
; // expected-error {{expected '='}}
34 template <C U
> void f(); // expected-error {{unknown type name 'C'}}
36 } // namespace GH99036