Home | History | Annotate | Download | only in jni
      1 #include <stdio.h>
      2 #include "global_ctor.h"
      3 
      4 GlobalCtor Obj;
      5 
      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