summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-14422.rs
blob: b9e2065d01468f8f53d7b47c72100571c41cc918 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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();
}