ReactOS  0.4.14-dev-55-g2da92ac
static_init.c
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS API tests
3  * LICENSE: LGPLv2.1+ - See COPYING.LIB in the top level directory
4  * PURPOSE: Test for static variable initialization
5  * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
6  */
7 
8 #include <apitest.h>
9 
10 extern int static_construct_counter;
11 
13 
14 START_TEST(static_init)
15 {
16  ok(static_init_counter == 123, "static_init_counter: %d\n", static_init_counter);
17  ok(static_construct_counter == 790, "static_construct_counter: %d\n", static_construct_counter);
18 }
int static_construct_counter
START_TEST(static_init)
Definition: static_init.c:14
int static_init_counter
Definition: static_init.c:12
#define ok(value,...)
Definition: atltest.h:57