X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2F_Exit.c;h=c3ecfbc373b26718be4d43024f17aedb801d9c3e;hb=f93d55176e4db9edfb1840054169003bcca4d1fb;hp=e90dfc6ee7bce4e9272cddaffc5bc6479eddb1e1;hpb=05c4ae55c5ed3a2a4e877a723e58e7ffc92110d4;p=pdclib diff --git a/platform/example/functions/_PDCLIB/_Exit.c b/platform/example/functions/_PDCLIB/_Exit.c index e90dfc6..c3ecfbc 100644 --- a/platform/example/functions/_PDCLIB/_Exit.c +++ b/platform/example/functions/_PDCLIB/_Exit.c @@ -30,7 +30,9 @@ void _PDCLIB_Exit( int status ) int main( void ) { - TESTCASE( NO_TESTDRIVER ); + int UNEXPECTED_RETURN = 0; + _PDCLIB_Exit( 0 ); + TESTCASE( UNEXPECTED_RETURN ); return TEST_RESULTS; }