1 // RUN: %clang_cc1 -std=c++2a -emit-pch %s -o %t 2 // RUN: %clang_cc1 -std=c++2a -include-pch %t -verify %s 3 4 // expected-no-diagnostics 5 6 #ifndef HEADER 7 #define HEADER 8 9 template<typename... T> 10 concept C = true; 11 12 namespace n { 13 template<typename... T> 14 concept C = true; 15 } 16 17 void f() { 18 (void)C<int>; 19 (void)C<int, void>; 20 (void)n::C<void>; 21 } 22 23 #else /*included pch*/ 24 25 int main() { 26 (void)C<int>; 27 (void)C<int, void>; 28 (void)n::C<void>; 29 f(); 30 } 31 32 #endif // HEADER 33