[LLVMbugs] [Bug 12082] class definition allowed in namespace which doesn't enclose namespace of declaration
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Mar 28 09:24:04 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=12082
Douglas Gregor <dgregor at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Douglas Gregor <dgregor at apple.com> 2012-03-28 11:24:04 CDT ---
Fixed in Clang r 153577. We now get:
t3.cpp:7:14: error: definition or redeclaration of 'A' not in a namespace
enclosing 'n1'
class n1::A { };
~~~~^
1 error generated.
--
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