3 // Copyright (C) 1999 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 20 May 1999 <nathan@acm.org>
6 // Anon unions cannot have user defined member functions
7 // [class.union/2]. Make sure we spot that.
13 { // { dg-error "" } anon union cannot have member fns