mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
17 lines
242 B
Rust
17 lines
242 B
Rust
//@ run-pass
|
|
#![allow(non_snake_case)]
|
|
|
|
//@ aux-build:issue-14422.rs
|
|
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
extern crate issue_14422 as bug_lib;
|
|
|
|
use bug_lib::B;
|
|
use bug_lib::make;
|
|
|
|
pub fn main() {
|
|
let mut an_A: B = make();
|
|
an_A.foo();
|
|
}
|