rust/src/test/compile-fail/private-variant-xc.rs

10 lines
203 B
Rust
Raw Normal View History

// aux-build:private_variant_xc.rs
// xfail-test
extern mod private_variant_xc;
pub fn main() {
let _ = private_variant_xc::Bar;
let _ = private_variant_xc::Baz; //~ ERROR unresolved name
}