* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / concepts / explicit-inst4.C
blobc0f585c957a8403302a7a01c3969174edee7fb9a
1 // { dg-options "-std=c++17 -fconcepts" }
3 template<typename T>
4   concept bool C() { return __is_class(T); }
6 template<typename T>
7   concept bool D() { return C<T>() && __is_empty(T); }
9 template<typename T>
10   struct S {
11     void g() requires C<T>() { } // #1
12     void g() requires D<T>() { } // #2
13   };
15 template void S<int>::g(); // { dg-error "match" }
17 int main() { }