* gcc-interface/trans.c (node_has_volatile_full_access) <N_Identifier>:
[official-gcc.git] / gcc / testsuite / jit.dg / test-error-gcc_jit_context_get_builtin_function-unknown-builtin.c
blobb1e389ce14fbe663b09a948df9cac5c34b7bab25
1 #include <stdlib.h>
2 #include <stdio.h>
4 #include "libgccjit.h"
6 #include "harness.h"
8 void
9 create_code (gcc_jit_context *ctxt, void *user_data)
11 gcc_jit_context_get_builtin_function (ctxt,
12 "this_is_not_a_builtin");
15 void
16 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result)
18 CHECK_VALUE (result, NULL);
20 CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
21 "builtin \"this_is_not_a_builtin\" not found");