blob: 76ac73321d3cbdd7fcc38c249e9d2caa948b9e90 [file] [log] [blame]
// run-pass
#![allow(non_camel_case_types)]
// We can export tags without exporting the variants to create a simple
// sort of ADT.
// pretty-expanded FIXME #23616
mod foo {
pub enum t { t1, }
pub fn f() -> t { return t::t1; }
}
pub fn main() { let _v: foo::t = foo::f(); }