// Take a look at the license at the top of the repository in the LICENSE file.
usecrate::prelude::*;#[test]fncheck_callback(){let c =crate::Cancellable::new();
c.connect_cancelled(|_|{});
c.cancel();// if it doesn't crash at this point, then we're good to go!
}