URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [ref2.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// Origin: Jason Merrill <jason@cygnus.com>
struct A {
int operator * ();
};
struct B : public A { };
int operator * (B &);
int main ()
{
B b;
B& br = b;
*br;
}