blob: 91a84ae3e3cc8a68f5b6488517c92ca5f98cb757 [file] [log] [blame]
// { dg-do compile }
class A {
public:
A(){}
A( const A& a ){}
};
class B : public A
{
public:
B( int& s) : s_(s){}
int& s_;
};
int main()
{
int i;
B x1( i );
B x2( x1 );
}