1// { dg-do assemble  }
2struct A {
3  A (int);
4};
5struct B {
6  operator int () { return 1; }
7};
8void f (const A&);
9void g()
10{
11  B b;
12  f ((A) b);
13  f (A (b)); // { dg-bogus "" } functional cast treated differently from C style
14}
15