#include <stdio.h>
#include <stdlib.h>
void assert_failed(const char *file, int line, const char *func, const char *cond)
{
fprintf(stderr
, "%s:%d: %s: Assertion `%s' failed.\n", file
, line
, func
, cond
); }
#define ASSERT(X) if(!(X))assert_failed(__FILE__, __LINE__, __func__, #X);
int main()
{
#define MAX(a,b) ((a)>(b)?a:b)
ASSERT(MAX(1,2)==1)
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KCnZvaWQgYXNzZXJ0X2ZhaWxlZChjb25zdCBjaGFyICpmaWxlLCBpbnQgbGluZSwgY29uc3QgY2hhciAqZnVuYywgY29uc3QgY2hhciAqY29uZCkKewoJZnByaW50ZihzdGRlcnIsICIlczolZDogJXM6IEFzc2VydGlvbiBgJXMnIGZhaWxlZC5cbiIsIGZpbGUsIGxpbmUsIGZ1bmMsIGNvbmQpOwoJZXhpdCgxKTsKfQoKI2RlZmluZSBBU1NFUlQoWCkgaWYoIShYKSlhc3NlcnRfZmFpbGVkKF9fRklMRV9fLCBfX0xJTkVfXywgX19mdW5jX18sICNYKTsKCmludCBtYWluKCkKewoJI2RlZmluZSBNQVgoYSxiKSAoKGEpPihiKT9hOmIpCglBU1NFUlQoTUFYKDEsMik9PTEpCn0=