OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
lookup23.C
1
// { dg-do assemble }
2
// Test for proper handling of type lookup if base class has field with the
3
// same name as the containing class.
4
5
struct a { int a; };
6
struct b : a {};
7
8
b x;
9
10
void foo ()
11
{
12
x.a = 22;
13
}