diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/run-make-fulldeps/inline-always-many-cgu/foo.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/run-make-fulldeps/inline-always-many-cgu/foo.rs b/src/test/run-make-fulldeps/inline-always-many-cgu/foo.rs new file mode 100644 index 000000000..65fe69c16 --- /dev/null +++ b/src/test/run-make-fulldeps/inline-always-many-cgu/foo.rs @@ -0,0 +1,15 @@ +#![crate_type = "lib"] + +pub mod a { + #[inline(always)] + pub fn foo() { + } + + pub fn bar() { + } +} + +#[no_mangle] +pub fn bar() { + a::foo(); +} |