rust/tests/ui/issues/issue-14421.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
242 B
Rust
Raw Normal View History

//@ run-pass
#![allow(non_snake_case)]
//@ aux-build:issue-14421.rs
//@ pretty-expanded FIXME #23616
extern crate issue_14421 as bug_lib;
use bug_lib::B;
use bug_lib::make;
pub fn main() {
let mut an_A: B = make();
an_A.foo();
}