/src/test/auxiliary/cross_crate_debuginfo_type_uniquing.rs
https://gitlab.com/pranith/rust · Rust · 26 lines · 9 code · 6 blank · 11 comment · 0 complexity · fae8da7497ef38ef642fc0e9285c10e8 MD5 · raw file
- // Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
- // file at the top-level directory of this distribution and at
- // http://rust-lang.org/COPYRIGHT.
- //
- // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
- // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
- // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
- // option. This file may not be copied, modified, or distributed
- // except according to those terms.
- // 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) { }
- }