[Issue 4524] Bus error with nested struct

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 29 13:52:00 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4524


Lars T. Kyllingstad <bugzilla at kyllingen.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at kyllingen.net
         OS/Version|Mac OS X                    |All


--- Comment #1 from Lars T. Kyllingstad <bugzilla at kyllingen.net> 2010-07-29 13:51:59 PDT ---
It causes a segmentation fault on Linux too.  Here's a reduced test case
without any imports:


void g(int j) { }

void main()
{
    struct S
    {
        int i;
        void f() { g(i); }
    }
    auto s = S();
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list