* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / typedef7.C
blob93784c08d8707279ce37e6ce8f2a99e2cc08bd48
1 // { dg-do assemble  }
2 // Origin: Mark Mitchell <mark@codesourcery.com>
4 typedef int I;
5 typedef int I;
7 // DR56 makes clear that duplicate typedefs in class scopes are
8 // invalid.
10 struct A {
11   typedef int I; // { dg-message "" }
12   typedef int I; // { dg-error "" }
15 template <class T>
16 struct S {
17   typedef int I;  // { dg-message "" }
18   typedef int I;  // { dg-error "" }