• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <stdio.h>
2 #include "global_ctor.h"
3 
4 GlobalCtor Obj;
5 
main(void)6 int main(void)
7 {
8     if (Obj.IsInitialized())
9     {
10         puts("Passed");
11         return 0;
12     }
13     else
14     {
15         puts("ERROR: Global variables are NOT initialized.");
16         return 1;
17     }
18 }
19