add regression test for issue 3073
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
:- use_module(library(ffi)).
|
||||
|
||||
|
||||
test :- ffi:array_type(u8, 2, Type), ffi:allocate(rust, Type, [Type, 0], _ArrayPtr).
|
||||
|
||||
?- test.
|
||||
error(system_error,'$ffi_allocate'/4).
|
||||
Reference in New Issue
Block a user