[LLVMbugs] [Bug 7326] New: "cannot compile this global yet"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jun 8 23:33:59 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7326
Summary: "cannot compile this global yet"
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: clattner at apple.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Clang fails on this:
class A {
public:
explicit A( int );
};
A const & sA123 = A( 123 );
With:
$ clang -c t.cc
t.cc:6:19: error: cannot compile this global variable that binds reference to a
non-lvalue yet
A const & sA123 = A( 123 );
^~~~~~~~
--
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