4 /* This is the code generated by cbindgen 0.12.1 for the `enum TT`
5 * type in nonclike.rs . */
10 typedef uint8_t TT_Tag;
24 /* This is the code generated by cbindgen 0.12.1 for the `enum T` type
30 typedef uint8_t T_Tag;
43 /* These symbols are defined by the Rust staticlib built from
45 extern TT tt_new(uint64_t a, uint64_t b);
46 extern T t_new(uint64_t v);
48 int main(int argc, char *argv[]) {
49 (void)argc; (void)argv;
51 /* This example works. */
52 TT tt = tt_new(10, 20);
54 assert(10 == tt.aa._0);
55 assert(20 == tt.aa._1);
57 /* This one used to segfault (see issue #68190). */