[LLVMbugs] [Bug 8082] New: clang doesn't diagnose reference to reference
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Sep 4 11:39:23 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=8082
Summary: clang doesn't diagnose reference to reference
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
GCC rejects this, clang doesn't:
class foo {
foo();
typedef int& A;
A x;
A & getfoo() { return x; }
};
--
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