mirror of
https://gitlab.freedesktop.org/emersion/libliftoff.git
synced 2024-12-25 21:59:11 +01:00
8f8c4d18a5
If NDEBUG is defined, then assert() becomes a no-op. Make sure it's not.
11 lines
165 B
C
11 lines
165 B
C
#include <stdio.h>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
#ifdef NDEBUG
|
|
fprintf(stderr, "NDEBUG is defined, cannot run tests\n");
|
|
return 1;
|
|
#else
|
|
return 0;
|
|
#endif
|
|
}
|