summaryrefslogtreecommitdiff
path: root/gcc/testsuite/jit.dg/test-empty.c
blob: 820f232dfeeecf2f872d364c7c43729b32771837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <stdlib.h>
#include <stdio.h>

#include "libgccjit.h"

#include "harness.h"

void
create_code (gcc_jit_context *ctxt, void *user_data)
{
  /* Do nothing.  */
}

void
verify_code (gcc_jit_context *ctxt, gcc_jit_result *result)
{
  /* We should have a non-NULL result, albeit one with nothing in it.  */
  CHECK_NON_NULL (result);
}