test19421.d revision 1.1.1.1
1/*******************************************/ 2// https://issues.dlang.org/show_bug.cgi?id=19421 3 4import core.memory; 5 6extern(C) void main() @nogc nothrow pure 7{ 8 auto p = pureMalloc(1); 9 p = pureRealloc(p, 2); 10 if (p) pureFree(p); 11 p = pureCalloc(1, 1); 12 if (p) pureFree(p); 13} 14