3.2 critical bug?

Stefano Barbato barbato@inquare.com
Thu Oct 24 05:14:00 GMT 2002


this seem to be a bug, hope I'm not missing something:

--------------------------------------
struct type_1
{};

struct type_2
{};

struct test
{
        test(const type_1&)
        {        }
};

int main()
{
        test p(type_2());
}
--------------------------------------

why this compiles without errors!?

stefano



More information about the Gcc-bugs mailing list