about summary refs log tree commit diff
path: root/tests/ui/self/explicit_self_xcrate_exe.rs
blob: 3bd64d6a4abc9ceb996b050b31f8859349eebd3c (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ run-pass
//@ aux-build:explicit_self_xcrate.rs


extern crate explicit_self_xcrate;
use explicit_self_xcrate::{Foo, Bar};

pub fn main() {
    let x = Bar { x: "hello".to_string() };
    x.f();
}