* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / fused-params1.C
blobebb226befb9aa1298cc5f8dc075d84644c1a9c50
1 // PR c++/8785
2 // Origin: Alexander Zvyagin <Alexander.Zviagine@cern.ch>
3 // { dg-do compile }
5 template <int N,typename T> struct A //  { dg-message "" }
7     typedef T X;
8     template <int M> void foo (const A<M,X>&);
9 };
11 template <int N,int M,typename T>
12 void A<N,T>::foo (const A<M,X>&) {} // { dg-error "" }