diff options
Diffstat (limited to '')
-rw-r--r-- | test cases/rust/13 external c dependencies/prog.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/rust/13 external c dependencies/prog.rs b/test cases/rust/13 external c dependencies/prog.rs new file mode 100644 index 0000000..b30ec24 --- /dev/null +++ b/test cases/rust/13 external c dependencies/prog.rs @@ -0,0 +1,9 @@ +extern "C" { + fn c_accessing_zlib(); +} + +fn main() { + unsafe { + c_accessing_zlib(); + } +} |