3 struct CG
{int x
; int y
;};
5 int g(int (^callback
)(struct CG
)) {
6 struct CG cg
= {.x
=1,.y
=2};
8 int z
= callback(cg
); // Set breakpoint 2 here.
13 int h(struct CG cg
){return 42;}
19 int (^add
)(int, int) = ^int(int a
, int b
)
21 return a
+ b
+ c
; // Set breakpoint 0 here.
24 int (^neg
)(int) = ^int(int a
)
29 printf("%d\n", add(3, 4));
30 printf("%d\n", neg(-5)); // Set breakpoint 1 here.
32 int (^add_struct
)(struct CG
) = ^int(struct CG cg
)