kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

a.c (300B)


      1 /* JIT extern resolver: external_value is not defined in any .o.
      2  * The jit_runner provides a resolver that maps every unresolved symbol
      3  * to a static int == 42. test_main reads external_value and checks it. */
      4 extern int external_value;
      5 int test_main(void) { return external_value == 42 ? 0 : 1; }