* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / concepts / req18.C
blob5ddb9e7dda9f62dd979b731ad428a7865c998fe2
1 // { dg-options "-std=c++17 -fconcepts" }
3 template <class> struct all_same {
4   static constexpr bool value = 1;
5 };
6 template <class T> concept bool Assignable
7 = requires(T t)
9   requires all_same<decltype(t = 0)>::value;
12 template <class I> requires !Assignable<I>
13 int dispatch();
14 template <Assignable>
15 void dispatch();
17 int main() { dispatch<int *>(); }