* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / template28.C
blob6868bc8528534c8c4b4d556355edec482898b2be
1 // PR c++/79056
3 template<class> struct A {};
5 template<class T> void foo(A<T>=A<T>()) {} // { dg-error "" }
7 void bar()
9   foo(A<int>());                // { dg-error "" }