[cfe-dev] Hi. I found strange behavior... Can I know about what's the `inline class`?
eli.friedman at gmail.com
Tue Mar 22 23:33:38 CDT 2011
On Tue, Mar 22, 2011 at 8:57 PM, Eonil Hoon Hwangbo <drawtree at gmail.com> wrote:
> Hi. I discovered strange behavior. I'm using Clang 2.0 bundled within Xcode4.
> I accidentally found that the Clang compiler allows :
> inline class AAA
> in C++. Above code compiled successfully without any error.
> I posted this question to a community ( http://stackoverflow.com/questions/5388097/whats-the-c-inline-class ) , and many people advised me to report this to this mailing list. They said this look like a bug.
> Please let me know what's this.
It's a bug; see http://llvm.org/bugs/show_bug.cgi?id=3941 .
More information about the cfe-dev