On Thursday, 4 April 2013 at 01:07:08 UTC, Zach the Mystic wrote:
static int* x; static int y; x = *func(3); // Error: result of func(3) is assumed to be local x = *func(y); // Pass: address of y is known to be global
s/*func/&func/
On Thursday, 4 April 2013 at 01:07:08 UTC, Zach the Mystic wrote:
static int* x; static int y; x = *func(3); // Error: result of func(3) is assumed to be local x = *func(y); // Pass: address of y is known to be global
s/*func/&func/