blob: 42b8f98e78abf816a4dfaa8193ee4cdebc96b9ff [file] [log] [blame]
struct Add(usize);
impl FnOnce<(usize,)> for Add {
type Output = Add;
extern "rust-call" fn call_once(self, to: (usize,)) -> Add {
Add(self.0 + to.0)
}
}