11 create_code (gcc_jit_context
*ctxt
, void *user_data
)
13 gcc_jit_context_enable_dump (ctxt
,
14 "not-a-valid-dump-switch",
19 verify_code (gcc_jit_context
*ctxt
, gcc_jit_result
*result
)
21 CHECK_VALUE (result
, NULL
);
23 /* Verify that the correct error message was emitted. */
24 CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt
),
25 "unrecognized dump: not-a-valid-dump-switch");