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

Douglas Gregor <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Douglas Gregor <[email protected]> 2010-11-09 16:53:01 CST 
---
I think Clang is behaving correctly (or, at least, reasonably) here.
Instantiating the definition of a static data member shouldn't change its type,
since we can choose any "use" at which to instantiate it. Admittedly, this is a
grey area of the standard, and implementations are split: GCC allows the code,
EDG and Clang rejects it.

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

Reply via email to