[LLVMbugs] [Bug 12591] New: Recurence with copy constructor

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 18 14:58:41 PDT 2012


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: unassignedclangbugs at nondot.org
        ReportedBy: robercik_st at interia.pl
                CC: llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list