#define assert(x) \ ({\ if (!(x)) {\ printf("assertion failure \"%s\" line %d file %s\n", \ #x, __LINE__, __FILE__); \ panic("assertion"); \ } \ })