gcc/testsuite/jit.dg/test-empty.c
raw| 1 | #include <stdlib.h> |
| 2 | #include <stdio.h> |
| 3 | |
| 4 | #include "libgccjit.h" |
| 5 | |
| 6 | #include "harness.h" |
| 7 | |
| 8 | void |
| 9 | create_code (gcc_jit_context *ctxt, void *user_data) |
| 10 | { |
| 11 | /* Do nothing. */ |
| 12 | } |
| 13 | |
| 14 | void |
| 15 | verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) |
| 16 | { |
| 17 | /* We should have a non-NULL result, albeit one with nothing in it. */ |
| 18 | CHECK_NON_NULL (result); |
| 19 | } |
| 20 |