diff options
Diffstat (limited to 'elf/tst-piemod1.c')
-rw-r--r-- | elf/tst-piemod1.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/elf/tst-piemod1.c b/elf/tst-piemod1.c index ad439da800..6e98b5f0c2 100644 --- a/elf/tst-piemod1.c +++ b/elf/tst-piemod1.c @@ -6,8 +6,8 @@ foo (void) return 21; } -int -main (void) +static int +do_test (void) { int val = foo (); if (val != 34) @@ -18,3 +18,6 @@ main (void) return 0; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |