Sign in
gnu
/
gcc
/
75bbfcfa8623f5b211475a54f52ced32201575e7
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
misc15.C
blob: e4dd53e0994d7e31f596125f2ed1228d07ae5f80 [
file
] [
log
] [
blame
]
// Build don't link:
// GROUPS passed miscellaneous-bugs
// we shouldn't get any warnings or errors for this code
struct
A
{
int
aa
;
};
struct
B
:
public
A
{
};
struct
C
:
public
A
{
};
struct
D
:
public
C
,
public
B
{
void
fun
()
{
C
::
aa
=
10
;
}
};