]>
Commit | Line | Data |
---|---|---|
71631a1f NS |
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 | ||
7 | struct X | |
8 | { | |
9 | int fn () const | |
10 | { | |
11 | return member; | |
12 | } | |
13 | const union | |
14 | { | |
15 | int member; | |
16 | }; | |
17 | }; |