jit: handle equality of function pointer types
[official-gcc.git] / gcc / testsuite / jit.dg / test-error-gcc_jit_timer_pop-too-many.c
blob62faeaf8c7ca58dc39a190f1126c140dc5bce83d
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_timer *timer = gcc_jit_timer_new ();
12 /* Erroneous: pop of an empty timing stack. */
13 gcc_jit_timer_pop (timer, "test");
14 gcc_jit_timer_release (timer);
17 void
18 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result)
20 /* empty */