blob: 6e98b5f0c27642d61e5f180f05c3f20f01959ff9 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#include <stdio.h>
2
3int
4foo (void)
5{
6 return 21;
7}
8
9static int
10do_test (void)
11{
12 int val = foo ();
13 if (val != 34)
14 {
15 printf ("foo () returned %d\n", val);
16 return 1;
17 }
18
19 return 0;
20}
21
22#define TEST_FUNCTION do_test ()
23#include "../test-skeleton.c"