[Issue 11778] format for null does not verify fmt flags.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 20 06:41:51 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11778



--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-12-20 06:41:48 PST ---
I guess this could be a test-case:

-----
import std.stdio;
void main()
{
    string s = "%d";
    int* p;
    writefln(s, p);  // does not throw
    writefln(s, p + 1);
}
-----

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


More information about the Digitalmars-d-bugs mailing list