[LLVMbugs] [Bug 23736] New: bug in inline namespaces

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 2 12:40:53 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23736

            Bug ID: 23736
           Summary: bug in inline namespaces
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: vanyacpp at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

This code defines function a::f, but I believe it should defines function
a::b::f. GCC defines a::b::f.

namespace a
{
    inline namespace b
    {
        void f();
    }
}

void a::f()
{
}

-- 
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/20150602/72510961/attachment.html>


More information about the llvm-bugs mailing list