* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / error10.C
blob46c9eff7bbcc0be43f6265ca4c9bea38641adb54
1 // PR c++/3478
2 // { dg-options "-fshow-column" }
4 template <typename> struct A
6     enum E {};
7 };
9 template <typename T> void foo()
11   enum          A<void>::E e1;
12   typename      A<T>::E    e2;
13   enum          A<T>::E    e3;
14   enum typename A<T>::E    e4;
17 // { dg-error "28:two or more data types in declaration of 'e4'" "2 or more" { target *-*-* } 14 }