7
(test-start "gcc_extension")
9
(test-module 'c-wrapper)
11
(c-load-library "./gcc_extension")
12
(c-include "./gcc_extension.h")
14
(test "Unnamed struct/union fields within structs/unions 1"
17
(let ((foo (make (c-struct 'foo))))
23
(inc_foo (ptr foo) FLOAT_MODE)
24
(map (cut ref foo <>) '(a b e f g)))))
26
(test "Unnamed struct/union fields within structs/unions 2"
29
(let ((foo (make (c-struct 'foo))))
36
(inc_foo (ptr foo) STRUCT_MODE)
37
(map (cut ref foo <>) '(a c d e f g)))))