summaryrefslogtreecommitdiffstats
path: root/test cases/rust/11 generated main/generated_lib_main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/rust/11 generated main/generated_lib_main.rs')
-rw-r--r--test cases/rust/11 generated main/generated_lib_main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/test cases/rust/11 generated main/generated_lib_main.rs b/test cases/rust/11 generated main/generated_lib_main.rs
new file mode 100644
index 0000000..d9b373e
--- /dev/null
+++ b/test cases/rust/11 generated main/generated_lib_main.rs
@@ -0,0 +1,5 @@
+extern crate static_lib_generated as lib;
+
+fn main() {
+ lib::libfun();
+}