diff options
Diffstat (limited to 'meson/test cases/rust/13 external c dependencies/prog.rs')
-rw-r--r-- | meson/test cases/rust/13 external c dependencies/prog.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/rust/13 external c dependencies/prog.rs b/meson/test cases/rust/13 external c dependencies/prog.rs new file mode 100644 index 000000000..b30ec24fb --- /dev/null +++ b/meson/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(); + } +} |