[llvm-bugs] [Bug 25968] ICE with anonymous struct returned from static class function

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 12 14:57:52 PST 2016


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

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rnk at google.com
         Resolution|---                         |FIXED

--- Comment #1 from Reid Kleckner <rnk at google.com> ---
Appears to work with trunk:

$ cat t.cpp
    class bug
    {
        static auto F()
        {
            struct anon {
            };

            return anon();
        }
    };

$ clang -c t.cpp  -std=c++14 --target=x86_64-linux

-- 
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/20160112/7a8af13c/attachment-0001.html>


More information about the llvm-bugs mailing list