* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / crash1.C
blobcd90685c70d5a686f5a7f3cd495dfaca57f4c1c0
1 // { dg-do compile }
3 // Copyright (C) 2003 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 25 Aug 2003 <nathan@codesourcery.com>
5 // Origin pr 11871 Dirk Mueller <mueller@kde.org>
7 // PR c++/11871 Regression
9 namespace std
11   class A
12   {
13   public:
14     enum result
15     {
16       ok
17     };
18   };
20   template<typename T> class B : public A
21     {
22     public:
23       typedef A::result result;
24     };
27 int main()
29   for(float result = 1.0;;);