This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
3.2 critical bug?
- From: Stefano Barbato <barbato at inquare dot com>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 24 Oct 2002 13:29:36 +0000
- Subject: 3.2 critical bug?
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