Lumiera  0.pre.03
»edit your freedom«
test-errorstate.c File Reference

Go to the source code of this file.

Description

C unit test to cover basic error handling in C code We manage an errorstate variable in thread local storage, which allows to set an global error state per thread.

Definition in file test-errorstate.c.

#include <stdio.h>
#include <string.h>
#include "lib/error.h"

Functions

 LUMIERA_ERROR_DEFINE (TEST, "test error")
 
int main (int argc, char **argv)