[Bug 65] Debug info wrong for __modtest

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Thu Jun 27 10:40:31 PDT 2013


http://bugzilla.gdcproject.org/show_bug.cgi?id=65

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject.org> 2013-06-27 17:40:31 UTC ---
A test for you that doesn't require importing modules:
---
void main() {}

unittest 
{
    int* a = null;
    *a = 10;
}

unittest 
{
    int* a = null;
    *a = 10;
}
---

See comment in d-objfile.cc(build_call_function):

// If there is only one function, just return that.

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the D.gnu mailing list