diff options
Diffstat (limited to 'tests/run-make/extern-multiple-copies2/foo1.rs')
-rw-r--r-- | tests/run-make/extern-multiple-copies2/foo1.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/run-make/extern-multiple-copies2/foo1.rs b/tests/run-make/extern-multiple-copies2/foo1.rs new file mode 100644 index 000000000..4c778e52f --- /dev/null +++ b/tests/run-make/extern-multiple-copies2/foo1.rs @@ -0,0 +1,7 @@ +#![crate_type = "rlib"] + +pub struct A; + +pub fn foo1(a: A) { + drop(a); +} |