Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
misc7.C
blob: 34e0d3a3757be9fb1bfca19f6dd15a2b20495c1a [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed MI
struct
S1
{
};
struct
S2
:
S1
{
};
struct
S3
:
S1
{
};
struct
S4
:
S3
,
S2
{
};
struct
S1
*
p1
;
struct
S4
*
p4
;
void
foobar
()
{
p1
=
p4
;
// { dg-error "" } this is illegal// ERROR - .*
}