1  #include <stdlib.h>
       2  #include <stdio.h>
       3  
       4  #include "libgccjit.h"
       5  
       6  #define TEST_COMPILING_TO_FILE
       7  #define OUTPUT_KIND      GCC_JIT_OUTPUT_KIND_OBJECT_FILE
       8  #define OUTPUT_FILENAME  "output-of-test-compile-to-object.c.o"
       9  #include "harness.h"
      10  #include "create-code-for-hello-world-executable.h"
      11  
      12  /* { dg-final { jit-verify-output-file-was-created "" } } */
      13  /* { dg-final { jit-verify-object "hello from ./output-of-test-compile-to-object.c.o.exe" } } */