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

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |INVALID

--- Comment #3 from Richard Smith <[email protected]> ---
Clang is correct. 'GlobalTemplate' and 'AliasToGlobalTemplate' are distinct
templates. [temp.type]p1 says:

  "Two template-ids refer to the same class, function, or variable if
  [...]
  -- their corresponding template template-arguments refer to the same
template."

So

  TemplateTakingTemplateTemplateParameter<GlobalTemplate>

and

  TemplateTakingTemplateTemplateParameter<AliasToGlobalTemplate>

refer to different classes.

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