// RUN: %clang_cc1 -std=c++2a -emit-pch %s -o %t // RUN: %clang_cc1 -std=c++2a -include-pch %t -verify %s // expected-no-diagnostics #ifndef HEADER #define HEADER template concept C = true; namespace n { template concept C = true; } void f() { (void)C; (void)C; (void)n::C; } #else /*included pch*/ int main() { (void)C; (void)C; (void)n::C; f(); } #endif // HEADER