Skip to content

Commit cebd6aa

Browse files
committed
1 parent c5f39a2 commit cebd6aa

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

jnaerator/src/test/resources/com/ochafik/lang/jnaerator/tests/anonymous types.test

+11
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,14 @@ a.fptr.invoke();
1919
a.u = new ComplexArgFunction_pArg_struct.u_union.ByValue();
2020
a.u.e = ComplexArgFunction_pArg_struct.u_union.e_enum.A;
2121
INSTANCE.ComplexArgFunction(a);
22+
--
23+
#runtime(BridJ)
24+
import test.*;
25+
import static test.TestLibrary.*;
26+
27+
ComplexArgFunction_pArg_struct a = null;
28+
a.v((long)0);
29+
a.fptr().invoke();
30+
a.u(new ComplexArgFunction_pArg_struct.u_union());
31+
a.u().e(ComplexArgFunction_pArg_struct.u_union.e_enum.A);
32+
ComplexArgFunction(Pointer.getPointer(a));

0 commit comments

Comments
 (0)