Welcome to mirror list, hosted at ThFree Co, Russian Federation.

check.h « include « testsuite « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8c95441af0c1a7de1061a8fc554eb73b301dd127 (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>

#define CHECK(a) { \
  if (!(a)) \
    { \
      printf ("Failed " #a " in <%s> at line %d\n", __FILE__, __LINE__); \
      fflush(stdout); \
      abort(); \
    } \
}