Debian Codegraph @

checkmk/test/test_after_main_pre/x_output

raw
1 /*
2 * DO NOT EDIT THIS FILE. Generated by checkmk.
3 * Edit the original source file "in" instead.
4 */
5
6 #include <check.h>
7
8 #line 1 "in"
9 /* A complete test example */
10
11 #include <stdio.h>
12
13
14
15 START_TEST(the_test)
16 {
17 #line 10
18 int nc;
19 const char msg[] = "\n\n Hello, world!\n";
20
21 nc = printf("%s", msg);
22 fail_unless(nc == (sizeof msg
23 - 1) /* for terminating NUL. */
24 );
25
26 }
27 END_TEST
28
29 int main(void)
30 {
31 Suite *s1 = suite_create("The Suite");
32 TCase *tc1_1 = tcase_create("The Test Case");
33 SRunner *sr = srunner_create(s1);
34 int nf;
35
36 /* User-specified pre-run code */
37 #line 19
38 int declare_me = 0;
39