[LLVMbugs] [Bug 14155] clang accepts incorrect out of line class definition

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 23 16:29:16 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=14155

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|                            |FIXED

--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> 2012-10-23 18:29:16 CDT ---
This works fine in trunk:

<stdin>:8:17: error: nested name specifier 'x<T>::y::' for declaration does not
refer into a class, class template or class template partial specialization
struct x<T>::y::z // OK in clang, ERROR in gcc, comeau, CRASH in MSVC
       ~~~~~~~~~^

-- 
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