[LLVMbugs] [Bug 20991] New: accepts-invalid with :: before decltype

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 17 21:35:42 PDT 2014


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

            Bug ID: 20991
           Summary: accepts-invalid with :: before decltype
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: richard-llvm at metafoo.co.uk
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Clang incorrectly accepts this:

struct S { struct T {}; };
::decltype(S())::T st;

-- 
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/20140918/b259b84d/attachment.html>


More information about the llvm-bugs mailing list