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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
ref2.C
blob
45c0b764d60282c55a505c46f9b6130e8ad3bac1
1
// { dg-do assemble }
2
// Origin: Jason Merrill <jason@cygnus.com>
3
4
struct A {
5
int operator * ();
6
};
7
struct B : public A { };
8
int operator * (B &);
9
10
int main ()
11
{
12
B b;
13
B& br = b;
14
*br;
15
}