1
0
mirror of https://github.com/ioacademy-jikim/debugging synced 2025-06-10 17:36:21 +00:00
2015-12-13 22:34:58 +09:00

23 lines
388 B
Plaintext

/* A complete test example */
#include <stdio.h>
# suite The Suite
# tcase The Test Case
# test the_test
int nc;
const char msg[] = "\n\n Hello, world!\n";
nc = printf("%s", msg);
fail_unless(nc == (sizeof msg
- 1) /* for terminating NUL. */
);
# main-pre
int declare_me = 0;
# main-pre
int oh_wait_declare_me_too;