1// Build don't link: 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 7struct X 8{ 9 int fn () const 10 { 11 return member; 12 } 13 const union 14 { 15 int member; 16 }; 17}; 18