[LLVMbugs] [Bug 9229] We now classify this use of friend as invalid
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Feb 15 13:48:31 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=9229
Rafael Ávila de Espíndola <rafael.espindola at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #4 from Rafael Ávila de Espíndola <rafael.espindola at gmail.com> 2011-02-15 15:48:31 CST ---
Sorry, the full test is
void nano_static_assert(int arg[1]);
class LIns {
void staticSanityCheck();
};
class LInsOp2 {
private:
friend class LIns;
LIns ins;
};
void LIns::staticSanityCheck() {
void nano_static_assert(int arg[__builtin_offsetof(LInsOp2, ins)]);
}
It was missing the first line.
--
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