[LLVMbugs] [Bug 22404] Base class init error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 30 15:58:35 PST 2015


David Blaikie <dblaikie at gmail.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |dblaikie at gmail.com
         Resolution|---                         |FIXED

--- Comment #1 from David Blaikie <dblaikie at gmail.com> ---
Seems to work with ToT.

$ cat deriv.cpp
struct stat {
struct file_stat : public ::stat
    file_stat(const struct ::stat &s) : ::stat(s) {}

int main()
    struct ::stat s;
    file_stat s2(s);
blaikie at blaikie-linux:/tmp/dbginfo$ clang++-tot deriv.cpp -fsyntax-only
blaikie at blaikie-linux:/tmp/dbginfo$

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/20150130/751d48dc/attachment.html>

More information about the llvm-bugs mailing list