blob: 6a2469e3627285c251529a2caf3b051c829d7fc3 [file] [log] [blame]
// PRMS Id: 6604
// Bug: Scoped constructor call is not properly recognized as a functional cast
int c;
struct A {
A() { ++c; }
~A() { --c; }
operator int () { return 1; }
};
int main ()
{
A::A();
return c;
}