parent
63b3c1598c
commit
eccad89471
|
@ -1,3 +1,7 @@
|
|||
2001-02-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
|
||||
|
||||
* g++.old-deja/g++.other/lookup22.C: New test.
|
||||
|
||||
2001-02-19 Zack Weinberg <zackw@stanford.edu>
|
||||
|
||||
* g77.dg: New directory.
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
// Origin: GerhardTonn@gmx.de
|
||||
// Build don't link:
|
||||
|
||||
struct super {
|
||||
union {
|
||||
int myName;
|
||||
void* secondMember;
|
||||
};
|
||||
};
|
||||
|
||||
struct sub : super {
|
||||
int myName() { return 1; }
|
||||
};
|
Loading…
Reference in New Issue