// RUN: %clang_cc1 -std=c++2a -x c++ -verify %s
;
concept Invalid = X<T>;
concept False = false; // expected-note{{because 'false' evaluated to false}}
concept True = true;
// TODO: Concepts: Uncomment trailing requires clauses here when we have correct substitution.
//template<True T>
// requires False<T>
//void g1() requires Invalid<T>;
//
//using g1i = decltype(g1<int>());
// expected-note{{because 'int' does not satisfy 'False'}}
requires ; // requires Invalid<T>;
// expected-note@-1{{candidate template ignored: constraints not satisfied [with T = int]}}
using g2i = decltype;
// expected-error@-1{{no matching function for call to 'g2'}}