// RUN: %clang_cc1 -std=c++2a -fallow-pch-with-compiler-errors -emit-pch -o %t %s -verify // RUN: %clang_cc1 -std=c++2a -fallow-pch-with-compiler-errors -include-pch %t %s -verify #ifndef HEADER #define HEADER template concept not_same_as = true; template struct subrange { template R> subrange(R) requires(Kind == 0); template R> subrange(R) requires(Kind != 0); }; template subrange(R) -> subrange<42>; int main() { int c; subrange s(c); } #endif namespace GH99036 { template concept C; // expected-error {{expected '='}} template void f(); } // namespace GH99036