* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / concepts / req3.C
blob8322e71623bac9f23a0818dbb3cb8b48b84268df
1 // { dg-do run }
2 // { dg-options "-std=c++17 -fconcepts" }
4 template<typename T>
5   concept bool Class () { return __is_class(T); }
7 struct Test {
8   void f(auto a) requires Class<decltype(a)>();
9 } test;
11 struct S { }s;
13 int main() {
14   test.f(s);
17 void Test::f(auto a) requires Class<decltype(a)>() { }