Contributors

Thursday, September 15, 2011

Use of __attribute__


void exitnow() __attribute__((noreturn));


int main()
{
    int n = 0;
        if ( n > 0 )
    {
                exitnow();
        /* control never reaches this point */
    }
        else
                return 0;
}

No comments:

Post a Comment