repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
conversion7.C
blob
01812f5b8eee5b98500dd060877babfe13475272
1
// Bug: g++ tries to look inside (B*)0 for a virtual base pointer.
2
3
struct A
4
{
5
};
6
7
struct B : virtual A
8
{
9
};
10
11
A* a;
12
13
int main()
14
{
15
a = (B*)0;
16
}