load-noobjc3.m 109 B

123456789
  1. #include "test.h"
  2. extern int state;
  3. __attribute__((constructor))
  4. static void ctor(void)
  5. {
  6. state = 1;
  7. }