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 12 int static_init_counter = 123; 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 } 19