blob: 45c0b764d60282c55a505c46f9b6130e8ad3bac1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// { 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;
}
|