sandbox/Antoonvh/testO.c
We test if optimzation is actually turned on by the Makefile by checking for output:

#include "utils.h"
scalar s[];
int main() {
system ("rm s.png s2.png");
#ifdef __OPTIMIZE__
(256);
init_grid foreach()
[] = x + sq(y);
soutput_ppm (s, file = "s.png");
#else
(128);
init_grid foreach()
[] = sq(x) + y;
soutput_ppm (s, file = "s2.png");
#endif
}
The non __OPTIMIZE__
d output does not exist:
