diff options
Diffstat (limited to 'tests/debuginfo/auxiliary/cross_crate_debuginfo_type_uniquing.rs')
-rw-r--r-- | tests/debuginfo/auxiliary/cross_crate_debuginfo_type_uniquing.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/debuginfo/auxiliary/cross_crate_debuginfo_type_uniquing.rs b/tests/debuginfo/auxiliary/cross_crate_debuginfo_type_uniquing.rs new file mode 100644 index 000000000..b9bb3ba72 --- /dev/null +++ b/tests/debuginfo/auxiliary/cross_crate_debuginfo_type_uniquing.rs @@ -0,0 +1,16 @@ +// no-prefer-dynamic +#![crate_type = "rlib"] +// compile-flags:-g + +struct S1; + +impl S1 { + fn f(&mut self) { } +} + + +struct S2; + +impl S2 { + fn f(&mut self) { } +} |