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
[31/77] Use scalar_int_mode for move2add
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
access11.C
blob
dd30e26fab6e931cd65578c67b0a1ed6f8f2d434
1
// { dg-do assemble }
2
// PRMS Id: 4900
3
// Bug: g++ doesn't apply access control uniformly to type conversion operators
4
5
struct A {
6
protected:
7
operator int * () const;
8
};
9
10
struct B : public A {
11
int * foo () { return A::operator int *(); }
12
};