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