* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / explicit1.C
blob35358749e1d082e9e85d913627497ecaf9ac20fe
1 // { dg-do compile }
3 // Origin: stefaandr@hotmail.com
5 // PR c++/12403: ICE when explicit specialization is not in
6 // namespace scope.
8 struct foo { 
9         template<typename T> void bar (T &t) {}
10         template<> void bar<double>(double &t) {} // { dg-error "non-namespace|template|function" }