I accidentally found that the Clang compiler allows :
inline class AAA
{
};
in C++. What's this?
PS. I reported this to Clang mailing list cfe-dev@cs.uiuc.edu
, and now waiting for reply. I'll update this question by I'm informed.
I got an answer from Clang mailing list. It was a bug: http://llvm.org/bugs/show_bug.cgi?id=3941
However it looks already been fixed in recent build. Thanks anyway :)
Here's the conversation: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-March/014207.html