http://llvm.org/bugs/show_bug.cgi?id=12591

             Bug #: 12591
           Summary: Recurence with copy constructor
           Product: clang
           Version: 3.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Clang crash when issued that code:
struct A;

struct B
{
  B (A const &);
  B (B &);
};

struct A
{
  A (B) {}
};

B
f (A const &a)
{
  return B (a);
}

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to