1// Build don't link:
2// Special Options: -Wconversion
3struct A { };
4struct B: public A {
5  A a;
6  operator A () { return a; }	// WARNING - never used implicitly
7};
8void f (const A&);
9void g()
10{
11  B b;
12  (A) b; // gets bogus error - trying both constructor and type conversion operator
13}
14