blob: 843c72ca308c85886cde8326c37a9e95e36c66f1 [file] [log] [blame]
// Origin: jason@redhat.com
// { dg-do compile }
struct A { A(); A(const A&); int i; };
struct B: public A { };
int f (bool b, A& ar, B& br)
{
return (b?ar:br).i;
}