* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / crash20.C
blobdd236e1204a9812b33d365ff54f306096386eccf
1 // { dg-do assemble  }
3 #include <typeinfo>
5 struct GcspFlags
7   enum Enum
8   { 
9     OffYes, 
10     OffNo, 
11     Root
12   };
14   static char const* name(Enum flag);
16   template<Enum GCSP_FLAG>
17   struct btmFlag
18   { 
19     static Enum const f=OffNo;
20   };
24 template<>
25 struct 
26 GcspFlags::btmFlag<GcspFlags::OffYes>
27
28   static GcspFlags::Enum const f=GcspFlags::OffYes;
31 int
32 main ()
34   GcspFlags::btmFlag<GcspFlags::OffYes> f;
35   const std::type_info& ti = typeid (f);
36   return 0;