Files
Sprinter-SDCC/tests/sdbg/fixtures/logmacro.c
T

18 lines
277 B
C

#include <sdbg.h>
volatile int total;
#define AUTHOR_LOG(tag, text) SDBG_LOG(tag, text)
int main(void)
{
total = 1;
AUTHOR_LOG(after_one,
"total=" "{total}");
#if 0
SDBG_LOG(inactive, "should not exist");
#endif
total = 2;
return total;
}