Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/anon5.C

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