#include <stdlib.h>
#include <stdio.h>

#include "libgccjit.h"

#define TEST_COMPILING_TO_FILE
#define OUTPUT_KIND      GCC_JIT_OUTPUT_KIND_OBJECT_FILE
#define OUTPUT_FILENAME  "output-of-test-compile-to-object.c.o"
#include "harness.h"
#include "create-code-for-hello-world-executable.h"

/* { dg-final { jit-verify-output-file-was-created "" } } */
/* { dg-final { jit-verify-object "hello from ./output-of-test-compile-to-object.c.o.exe" } } */
