[LLVMbugs] [Bug 19756] New: Forbid templates in local class declarations

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 15 06:18:20 PDT 2014


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

            Bug ID: 19756
           Summary: Forbid templates in local class declarations
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: stpworld at narod.ru
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12515
  --> http://llvm.org/bugs/attachment.cgi?id=12515&action=edit
Test case

Hi all.
According to C++ standard, 14.5.2 Member templates, second paragraph, a local
class shall not have member templates. I have attached test-case that should be
terminated with error message.
Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140515/64c3c5e6/attachment.html>


More information about the llvm-bugs mailing list