1 // { dg-options "-std=c++17 -fconcepts" }
3 template<typename T, typename U>
6 static constexpr bool value = false;
12 static constexpr bool value = true;
15 template<class T, class U>
16 concept bool Same = is_same<T, U>::value;
19 concept bool C1 = true;
21 template<typename T, typename U>
22 concept bool C2 = true;
25 concept bool C3() { return true; }
27 template<typename T, typename U>
28 concept bool C4() { return true; }
34 Same<int> s1 = 'a'; // { dg-error "does not satisfy|is_same" }