X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2F_Exit.c;h=a3d20f50c80acd80dba752d6a11e36ca59ad0cd9;hp=4cfc6660b4c659d46ec5598005998592183c2176;hb=2b793d7f6e3a8e37229e761ef4c92961bd0f686a;hpb=5596d52a975696c29adc741ac1cdb49fb7315d73 diff --git a/platform/example/functions/_PDCLIB/_Exit.c b/platform/example/functions/_PDCLIB/_Exit.c index 4cfc666..a3d20f5 100644 --- a/platform/example/functions/_PDCLIB/_Exit.c +++ b/platform/example/functions/_PDCLIB/_Exit.c @@ -27,9 +27,11 @@ void _PDCLIB_Exit( int status ) int main( void ) { +#ifndef REGTEST int UNEXPECTED_RETURN = 0; _PDCLIB_Exit( 0 ); TESTCASE( UNEXPECTED_RETURN ); +#endif return TEST_RESULTS; }