view tests/mpp/badmac21.c @ 4:bebb2ba69e1d

maybe help with getting tex to fail properly on error
author David A. Holland
date Sat, 18 Apr 2020 17:12:17 -0400
parents 13d2b8934445
children
line wrap: on
line source

#define ONE 1
#define DEF(x) defined(x)

... undefined, so either yes or no is ok, but error is better
#if DEF(ONE)
yes
#else
no
#endif