blob: 8f5a32e0a001d202e51a01ed848935bf66d554c0 [file] [log] [blame]
// Confirm that we don't accidentally divide or mod by zero in llvm_type
//@ build-pass
mod a {
pub trait A {}
}
mod b {
pub struct Builder {}
pub fn new() -> Builder {
Builder {}
}
impl Builder {
pub fn with_a(&mut self, _a: fn() -> dyn (crate::a::A)) {}
}
}
pub use self::b::new;
fn main() {}