1 // { dg-do assemble } 2 // Copyright (C) 2000 Free Software Foundation, Inc. 3 // Contributed by Nathan Sidwell 14 Nov 2000 <nathan@codesourcery.com> 4 5 // Bug 649. A cv qualified anonymous union would cause confusion. 6 7 struct X 8 { fnX9 int fn () const 10 { 11 return member; 12 } 13 const union 14 { 15 int member; 16 }; 17 }; 18