http://llvm.org/bugs/show_bug.cgi?id=9229
Rafael Ávila de Espíndola <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #4 from Rafael Ávila de Espíndola <[email protected]> 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. _______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
