1 // RUN: %clang_cc1 -std=c++2a -x c++ -verify %s
6 template <typename T
> requires (bool(T()))
10 template <typename U
> requires (bool(U()))
13 } // end namespace nodiag
18 template <typename T
> requires (bool(T())) // expected-note{{previous template declaration is here}}
22 template <typename U
> requires (!bool(U())) // expected-error{{requires clause differs in template redeclaration}}
25 } // end namespace diag