1 use test_programs::wasi::clocks::monotonic_clock::subscribe_duration;
2 
main()3 fn main() {
4     for _ in 0..1000 {
5         std::mem::forget(subscribe_duration(1_000_000));
6     }
7     panic!("should have trapped before now");
8 }
9