repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
tree-ssa
/
pr22404.C
blob
2c6b8cd2729464447c6066c1940eb836ada46c20
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
/* We were not getting the offset of a in B and a in C::B correct,
5
causing an abort. */
6
struct A { A(); };
7
8
struct B : A
9
{
10
A a;
11
};
12
13
struct C : B { };
14
15
C c;