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++.other
/
lookup23.C
blob
9deee9eda450c1ee6ab05e2754be35b75d901193
1
// Test for proper handling of type lookup if base class has field with the
2
// same name as the containing class.
3
// Build don't link:
4
5
struct a { int a; };
6
struct b : a {};
7
8
b x;
9
10
void foo ()
11
{
12
x.a = 22;
13
}