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